[chronojump] Fixed incorrect changing currentSession on import
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed incorrect changing currentSession on import
- Date: Wed, 20 May 2020 09:50:43 +0000 (UTC)
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]