[chronojump] Fixed incorrect changing currentSession on import



commit 3ea23ff9eec38d4aca71873433533f8f07c37d27
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed May 20 11:50:15 2020 +0200

    Fixed incorrect changing currentSession on import

 src/gui/app1/session/loadAndImport.cs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gui/app1/session/loadAndImport.cs b/src/gui/app1/session/loadAndImport.cs
index e5cc6ad4..8528b820 100644
--- a/src/gui/app1/session/loadAndImport.cs
+++ b/src/gui/app1/session/loadAndImport.cs
@@ -558,10 +558,8 @@ public partial class ChronoJumpWindow
        }
        void app1s_on_button_import_clicked (object o, EventArgs args)
        {
-               if(app1s_selected != "-1") {
-                       currentSession = SqliteSession.Select (app1s_selected);
+               if(app1s_selected != "-1")
                        on_load_session_accepted_to_import(o, args);
-               }
        }
 
        // ---- notebook page 4 buttons ----


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