Summary: | Edit of Loan changes 'type' of loan from 'lending' to 'borrowing' money | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jill Elaine <jillelaine01> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | onet.cristian |
Priority: | NOR | Keywords: | usability |
Version: | 4.7.1 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kmymoney/515b2bc13dc16728b2669fab5c497659e3f3c545 | Version Fixed In: | 4.7.2 |
Sentry Crash Report: | |||
Attachments: |
Initial Loan Set up results
Start of Edit Account End of Edit Account |
Description
Jill Elaine
2015-01-26 22:38:23 UTC
Created attachment 90680 [details]
Initial Loan Set up results
Created attachment 90681 [details]
Start of Edit Account
Created attachment 90682 [details]
End of Edit Account
Notice type of loan is now "borrowed"
I can confirm this issue. 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 wizard. 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 http://commits.kde.org/kmymoney/ee9415d83781269fa73afabd900638574c71e4c6 Git commit 6752db06159df563731f83f76e7814aab9bfe889 by Cristian Oneț. Committed on 28/01/2015 at 18:46. Pushed by conet into branch '4.7'. 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 wizard. (cherry picked from commit ee9415d83781269fa73afabd900638574c71e4c6) 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 http://commits.kde.org/kmymoney/6752db06159df563731f83f76e7814aab9bfe889 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 wizard. 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 http://commits.kde.org/kmymoney/515b2bc13dc16728b2669fab5c497659e3f3c545 |