[chronojump/michrolab] changeDB now closes session



commit 5ab74e4db103fd592b67c331e3e30f7ce7695924
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jun 13 18:42:52 2022 +0200

    changeDB now closes session

 src/gui/networks.cs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 6cc453b73..b12fc5fd8 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -363,8 +363,7 @@ public partial class ChronoJumpWindow
        // updateConfigFile only if selected a new db by user: on_button_database_change_clicked ()
        private void databaseChange (bool updateConfigFile)
        {
-               //TODO: need to close session first
-
+               closeSession ();
 
                Sqlite.DisConnect ();
 


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