[chronojump] Fixed treeview shown of load session much faster show at 2n, 3d, ... times



commit af0c4b6e0c739ba5877d01d818d52bceaae3050f
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 8 17:30:05 2021 +0200

    Fixed treeview shown of load session much faster show at 2n, 3d, ... times

 src/gui/app1/session/loadAndImport.cs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gui/app1/session/loadAndImport.cs b/src/gui/app1/session/loadAndImport.cs
index ae3dbf66..5276ab95 100644
--- a/src/gui/app1/session/loadAndImport.cs
+++ b/src/gui/app1/session/loadAndImport.cs
@@ -328,7 +328,9 @@ public partial class ChronoJumpWindow
                         app1s_combo_tags.Changed += new EventHandler (app1s_on_combo_tags_changed);
                 } else {
                        app1sComboTags.L_types = TagSession.ListSelectTypesOnSQL();
+                        app1s_combo_tags.Changed -= new EventHandler (app1s_on_combo_tags_changed);
                         app1sComboTags.Fill();
+                        app1s_combo_tags.Changed += new EventHandler (app1s_on_combo_tags_changed);
                         app1s_combo_tags = app1sComboTags.Combo;
                 }
                 app1s_combo_tags.Sensitive = true;


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