Bug 353077

Summary: Deleted sessions are not deleted if another session is created
Product: [Applications] kronometer Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.0

Description Elvis Angelaccio 2015-09-23 09:03:09 UTC
See below:

Reproducible: Always

Steps to Reproduce:
1. Delete some existing session
2. Create a new session

Actual Results:  
The deleted session is re-added to the list of session

Expected Results:  
The deleted session should not have been re-added to the list of session
Comment 1 Bug Janitor Service 2020-12-20 20:52:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kronometer/-/merge_requests/1
Comment 2 Elvis Angelaccio 2021-01-05 21:51:24 UTC
Git commit 52c6eb1a0ebd34a40dd671724222f72a8bd53e6d by Elvis Angelaccio, on behalf of Johnny Jazeix.
Committed on 05/01/2021 at 21:47.
Pushed by elvisangelaccio into branch 'master'.

Only use one session model for all the windows.

M  +6    -7    src/gui/mainwindow.cpp
M  +1    -1    src/gui/mainwindow.h
M  +2    -2    src/gui/sessiondialog.cpp
M  +1    -1    src/gui/sessiondialog.h
M  +3    -1    src/main.cpp

https://invent.kde.org/utilities/kronometer/commit/52c6eb1a0ebd34a40dd671724222f72a8bd53e6d