Bug 368196

Summary: Delete sub-operations in edit delete selected operation in list
Product: [Applications] skrooge Reporter: vicnet <vo.publique>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED FIXED    
Severity: minor CC: stephane
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 25.1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description vicnet 2016-09-03 15:12:53 UTC
On editing an operation with multi-suboperations (ventillation in french), trying to delete with key a suboperation delete the last selected operation in list view and not the suboperation.

Reproducible: Always

Steps to Reproduce:
1. Select an operation in list view
2. Edit a new operation (clear)
3. Quick fill widget with an operation that contains suboperations
4. Select a suboperation
5. Try to delete with Del key

Actual Results:  
The selected operation in list view is deleted

Expected Results:  
The selected sub-operation should be deleted

Hopefully, deleted operation could be restored (if you noticed the deletion) !
Comment 1 Stephane MANKOWSKI 2016-09-08 19:22:08 UTC
Git commit 75afa9be85cf85969f48a10d869318c57b8e4191 by Stephane Mankowski.
Committed on 08/09/2016 at 19:21.
Pushed by smankowski into branch 'master'.

Delete sub-operations in edit delete selected operation in list

M  +1    -0    CHANGELOG
M  +1    -1    plugins/generic/skg_delete/skgdeleteplugin.cpp
M  +2    -1    plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +2    -2    skgbasegui/skginterfaceplugin.cpp
M  +4    -1    skgbasegui/skginterfaceplugin.h
M  +17   -2    skgbasegui/skgmainpanel.cpp
M  +10   -1    skgbasegui/skgmainpanel.h
M  +13   -0    skgbasegui/skgwidget.cpp
M  +21   -0    skgbasegui/skgwidget.h

http://commits.kde.org/skrooge/75afa9be85cf85969f48a10d869318c57b8e4191