[Kmymoney-devel] [kmymoney4] [Bug 321317] Transfer direction changes as details are being entered
David Houlden
djhoulden at gmail.com
Sat Jun 22 10:41:25 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=321317
--- Comment #4 from David Houlden <djhoulden at gmail.com> ---
Allan, your commit 94935cf78e added some code which does appear to change the
labels.
In the diff for transactioneditor.cpp
+ } else {
+ if (categoryLabel->text() != i18n("Category")) {
+ if (categoryLabel->text() == i18n("Transfer to")) {
+ categoryLabel->setText(i18n("Transfer from"));
+ cashflow->setDirection(KMyMoneyRegister::Payment);
+ } else {
+ categoryLabel->setText(i18n("Transfer to"));
+ cashflow->setDirection(KMyMoneyRegister::Deposit);
+ }
+ }
+
dynamic_cast<kMyMoneyEdit*>(m_editWidgets["amount"])->setValue(val.abs());
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list