[Kmymoney-devel] [kmymoney4] [Bug 343348] Edit of Loan changes 'type' of loan from 'lending' to 'borrowing' money

Cristian Oneț onet.cristian at gmail.com
Wed Jan 28 19:09:45 UTC 2015


Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/6752db06159df563731f83 |oney/515b2bc13dc16728b2669f
                   |f76e7814aab9bfe889          |ab5c497659e3f3c545

--- Comment #7 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit 515b2bc13dc16728b2669fab5c497659e3f3c545 by Cristian Oneț.
Committed on 28/01/2015 at 18:46.
Pushed by conet into branch 'frameworks'.

Fix any initial state of the loan editor represented by group buttons.

Use QAbstractButton::click instead of QAbstractButton::animateClick
to set the initial state of some values. This is needed because when
animateClick is used the value is only set after 100 ms thus possibly
overwriting any initial values set by KEditLoanWizard::loadWidgets
which is called immediately after creating the wizard pages (thus
before the click would actually occur).

This fixes the state of loan type ('lending' or 'borrowing') in the

M  +1    -1    kmymoney/wizards/newloanwizard/editselectionwizardpage.cpp
M  +1    -1    kmymoney/wizards/newloanwizard/interestcalculationwizardpage.cpp
M  +1    -1    kmymoney/wizards/newloanwizard/interesttypewizardpage.cpp
M  +2    -2    kmymoney/wizards/newloanwizard/keditloanwizard.cpp
M  +1    -1    kmymoney/wizards/newloanwizard/lendborrowwizardpage.cpp
M  +1    -1    kmymoney/wizards/newloanwizard/previouspaymentswizardpage.cpp
M  +2    -2    kmymoney/wizards/newloanwizard/recordpaymentwizardpage.cpp


You are receiving this mail because:
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list