Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/241'
Browse files Browse the repository at this point in the history
* origin/pr/241:
  Don't change combobox on mouse scroll
  • Loading branch information
marmarek committed Jan 8, 2025
2 parents 1231efc + 8643f9b commit 72eea4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qubes_config/global_config/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 72eea4a

Please sign in to comment.