[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [k3b] src: Fix could not close ripping videodvd progress dialog issue.
From:       Leslie Zhai <xiangzhai83 () gmail ! com>
Date:       2016-08-29 7:37:29
Message-ID: E1beH8L-0003NM-TB () code ! kde ! org
[Download RAW message or body]

Git commit e40999f3c6c42079f47bea3d711c4c5849edb93a by Leslie Zhai.
Committed on 29/08/2016 at 07:36.
Pushed by lesliezhai into branch 'master'.

Fix could not close ripping videodvd progress dialog issue.

M  +1    -1    src/k3bjobprogressdialog.cpp

http://commits.kde.org/k3b/e40999f3c6c42079f47bea3d711c4c5849edb93a

diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp
index 2649044..46a810d 100644
--- a/src/k3bjobprogressdialog.cpp
+++ b/src/k3bjobprogressdialog.cpp
@@ -485,7 +485,7 @@ void K3b::JobProgressDialog::reject()
         if( KMessageBox::questionYesNo( this, i18n("Do you really want to cancel?"), \
i18n("Cancel Confirmation") ) == KMessageBox::Yes ) {  if( m_job ) {
                 m_job->cancel();
-                m_closeButton->setEnabled( false ); // do not cancel twice
+                m_closeButton->setEnabled(true);
             }
         }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic