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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdepim=5D_mailcommon=3A_Forward_port=3A_test_when_r?=
From:       Montel Laurent <montel () kde ! org>
Date:       2011-01-26 13:04:46
Message-ID: 20110126130446.33A51A6094 () git ! kde ! org
[Download RAW message or body]

Git commit dc2df6f20c3780ce309933920dd58a3c41b2b25c by Montel Laurent.
Pushed by mlaurent into branch 'master'.

Forward port: test when radiobutton is checked

M  +1    -1    mailcommon/expirypropertiesdialog.cpp     

http://commits.kde.org/ee6cc38b/dc2df6f20c3780ce309933920dd58a3c41b2b25c

diff --git a/mailcommon/expirypropertiesdialog.cpp \
b/mailcommon/expirypropertiesdialog.cpp index 1689196..29e5a4f 100644
--- a/mailcommon/expirypropertiesdialog.cpp
+++ b/mailcommon/expirypropertiesdialog.cpp
@@ -166,7 +166,7 @@ void ExpiryPropertiesDialog::accept()
                         i18n( "No Folder Selected" ) );
     return;
   }
-  if ( expireToFolder.isValid() ) {
+  if ( expireToFolder.isValid() && moveToRB->isChecked() ) {
     if ( expireToFolder.id() == mFolder->collection().id() ) {
       KMessageBox::error( this, i18n( "Please select a different folder than the \
current folder to expire message into." ),  i18n( "Wrong Folder Selected" ) );


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

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