Skip to content

Commit

Permalink
ui: fix initialization bug for PackedRangeControl
Browse files Browse the repository at this point in the history
  • Loading branch information
pfps committed Oct 20, 2024
1 parent 0cd9c0c commit a2e4c3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/solaar/ui/config_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ def set_value(self, value):

class PackedRangeControl(MultipleRangeControl):
def setup(self, setting):
self._items = []
validator = setting._validator
for item in range(validator.count):
h = Gtk.HBox(homogeneous=False, spacing=0)
Expand Down

0 comments on commit a2e4c3d

Please sign in to comment.