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

List:       kde-commits
Subject:    extragear/office/kmymoney/kmymoney/views
From:       Thomas Baumgart <thb () net-bembel ! de>
Date:       2010-07-29 17:58:15
Message-ID: 20100729175815.65D6AAC782 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156795 by tbaumgart:

Don't allow editing multiple investment transactions at once. The tooltip is \
commented due to the string freeze.

BUG: 240816

 M  +8 -0      kgloballedgerview.cpp  


--- trunk/extragear/office/kmymoney/kmymoney/views/kgloballedgerview.cpp \
#1156794:1156795 @@ -1510,6 +1510,14 @@
     }
   }
 
+  // check for multiple transactions being selected in an investment account
+  // we do not allow editing in this case: \
https://bugs.kde.org/show_bug.cgi?id=240816 +  // later on, we might allow to edit \
investment transactions of the same type +  if (rc == true && investmentTransactions \
> 1) { +    // tooltip = i18n("Cannot edit multiple investment transactions at \
> once");
+    rc = false;
+  }
+
   // now check that we have the correct account type for investment transactions
   if (rc == true && investmentTransactions != 0) {
     if (m_account.accountType() != MyMoneyAccount::Investment) {


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

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