[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 18:57:52 UTC 2015


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

           What    |Removed                     |Added
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/ee9415d83781269fa73afa
                   |                            |bd900638574c71e4c6

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

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