[Kmymoney-devel] [kmymoney4] [Bug 321317] Transfer direction changes as details are being entered
allan
agander93 at gmail.com
Sat Jun 22 13:00:37 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=321317
--- Comment #5 from allan <agander93 at gmail.com> ---
(In reply to comment #4)
> 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());
Apologies, you're right. I need to investigate further as, just removing that
added code, I get back to this problem -
"
...when using the transaction form and doing a multi-transaction edit, on
attempting to enter an amount, it was not accepted unless the amount was
negative.
"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list