Bug 473730

Summary: Hiding Number field in ledger is not saved
Product: [Applications] kmymoney Reporter: adi.sav
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.2.0
Bug Depends on:    
Bug Blocks: 426400    

Description adi.sav 2023-08-24 16:04:38 UTC
Using KMyMoney Version 5.1.80-308103855

STEPS TO REPRODUCE
1. go to ledger
2. right-click on the table header and deselect Number, Entry date, Payee, Reconciliation
3. close KMyMoney
4. open KMyMoney
5. go to ledger; Number field is still shown and it shouldn't. It's setting is not saved in config file.
Comment 1 Ralf Habacker 2024-02-01 15:42:55 UTC
This is still an issue with an up to date build from git master branch.
Comment 2 Ralf Habacker 2024-02-01 16:39:20 UTC
The reason for this problem is that the "0" column is set as always visible at https://invent.kde.org/office/kmymoney/-/blame/master/kmymoney/widgets/columnselector.cpp#L44
Comment 3 Ralf Habacker 2024-02-02 11:37:02 UTC
Git commit 624f2f1593b86806114c601953f422df524afd30 by Ralf Habacker.
Committed on 02/02/2024 at 11:36.
Pushed by habacker into branch 'master'.

Fix 'Hiding Number field in ledger is not saved'
FIXED-IN:5.2.0

M  +0    -2    kmymoney/widgets/columnselector.cpp

https://invent.kde.org/office/kmymoney/-/commit/624f2f1593b86806114c601953f422df524afd30