[chronojump] Fixed: session delete does not delete all rows on persons treeview https://gitlab.gnome.org/GNOME/ch



commit 9367af6ca3833093533ebf08ec54524c6f35f857
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jan 28 19:05:41 2022 +0100

    Fixed: session delete does not delete all rows on persons treeview 
https://gitlab.gnome.org/GNOME/chronojump/-/issues/638

 src/gui/app1/session/delete.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/app1/session/delete.cs b/src/gui/app1/session/delete.cs
index 77a58ce6a..b87b8644f 100644
--- a/src/gui/app1/session/delete.cs
+++ b/src/gui/app1/session/delete.cs
@@ -82,7 +82,10 @@ public partial class ChronoJumpWindow
        {
                //close session if is the same that we are working on
                if(currentSession != null && currentSession.UniqueID == tempDeletingSession.UniqueID)
+               {
                        closeSession ();
+                       treeview_persons_storeReset();
+               }
 
                SqliteSession.DeleteAllStuff(tempDeletingSession.UniqueID.ToString());
                


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]