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

List:       kde-commits
Subject:    extragear/office/kmymoney/kmymoney/dialogs
From:       Cristian OneČ› <onet.cristian () gmail ! com>
Date:       2011-08-26 17:59:20
Message-ID: 20110826175920.CBC0AAC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1249599 by conet:

BUG: 280795
If editing multiple transactions and the date is valid mark the editing as complete.

 M  +4 -1      transactioneditor.cpp  


--- trunk/extragear/office/kmymoney/kmymoney/dialogs/transactioneditor.cpp #1249598:1249599
@@ -1780,13 +1780,16 @@
     if (amount && !(amount->value().isZero()))
       break;
 
-    // the following two widgets are only checked if we are editing multiple transactions
+    // the following widgets are only checked if we are editing multiple transactions
     if (isMultiSelection()) {
       if (reconcile && reconcile->state() != MyMoneySplit::Unknown)
         break;
 
       if (cashflow && cashflow->direction() != KMyMoneyRegister::Unknown)
         break;
+
+      if (postDate->date().isValid() && (postDate->date() >= m_account.openingDate()))
+        break;
     }
   }
   return it_w != m_editWidgets.end();
[prev in list] [next in list] [prev in thread] [next in thread] 

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