[chronojump] Fixed: Wrong message after importing in a loaded session



commit 232bc0cdd610624405d63ae62406323c5f9ff3e6
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Dec 3 13:08:58 2021 +0100

    Fixed: Wrong message after importing in a loaded session

 src/gui/app1/session/loadAndImport.cs | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/session/loadAndImport.cs b/src/gui/app1/session/loadAndImport.cs
index 9a28126bc..7b55bdd48 100644
--- a/src/gui/app1/session/loadAndImport.cs
+++ b/src/gui/app1/session/loadAndImport.cs
@@ -690,10 +690,14 @@ public partial class ChronoJumpWindow
        //TODO: do not need to be public ? maybe for import
        public void app1s_ShowLabelImportedOk()
        {
-               if(app1s_radio_import_new_session.Active)
+               if(app1s_radio_import_new_session.Active) {
                        app1s_hbox_import_done_at_new_session.Visible = true;
-               else
+                       app1s_label_import_done_at_current_session.Visible = false;
+               }
+               else {
+                       app1s_hbox_import_done_at_new_session.Visible = false;
                        app1s_label_import_done_at_current_session.Visible = true;
+               }
        }
 
        //TODO: do not need to be public ? maybe for import


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