Bug 320598 - update button disabled in payee view after suggesting a default category for the payee
Summary: update button disabled in payee view after suggesting a default category for ...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 07:16 UTC by lukasz
Modified: 2013-06-02 08:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lukasz 2013-06-02 07:16:49 UTC
Quoting Brendan Coupe's mail from the dev list:
Select a Payee with a default account set. Click the "Suggest a Category" button. If the suggested category is different it changes in the drop down list above the button but the "Update" button at the bottom of the screen remains disabled so I can not save my change. If I select the same suggested category from the drop down list then the Update button is enabled.

You can reproduce this bug by changing the Default category to one that is definitely not going to be suggested, click the update button and then click the Suggest a category button.


Reproducible: Always

Steps to Reproduce:
1. Click Payees
2. Select a payee which has a default category assigned and "Use default account for new transactions [...]" checked
3. Select a different default category
4. Click "Update" button
5. Click "Suggest a category" so that the selected category reverts to its prior value (it's crucial that the default category changes back its value!)
Actual Results:  
"Update" button remains disabled

Expected Results:  
"Update" button changes to enabled
Comment 1 lukasz 2013-06-02 08:25:08 UTC
Git commit 406ce81b2b39ad9ef6439903d15038f7b9a3127f by Lukasz Maszczynski.
Committed on 02/06/2013 at 10:20.
Pushed by lukaszm into branch 'master'.

fixed disabled "Update" button after suggesting a new default category

The "Update" button remained disabled when a payee had already a default
category assigned and it was changed by clicking "Suggest a new
category" button.

M  +18   -8    kmymoney/views/kpayeesview.cpp
M  +10   -0    kmymoney/views/kpayeesview.h

http://commits.kde.org/kmymoney/406ce81b2b39ad9ef6439903d15038f7b9a3127f