diff --git a/qubes_config/global_config/global_config.py b/qubes_config/global_config/global_config.py index 2d3269c..192ce01 100644 --- a/qubes_config/global_config/global_config.py +++ b/qubes_config/global_config/global_config.py @@ -507,6 +507,12 @@ def perform_setup(self): ], ) + # workaround the uncomfortable behavior with comboboxes: combobox + # should not change item ID on random scrolling around + for obj in self.builder.get_objects(): + if isinstance(obj, (Gtk.ComboBox, Gtk.ComboBoxText)): + obj.connect("scroll-event", lambda *args: True) + self.progress_bar_dialog.update_progress(1) self.progress_bar_dialog.hide() self.progress_bar_dialog.destroy()