mirror of
https://github.com/libratbag/piper.git
synced 2026-02-20 07:33:50 -05:00
committed by
Peter Hutterer
parent
7265828ec4
commit
e2ce3ccfe0
@@ -98,6 +98,7 @@ class MousePerspective(Gtk.Overlay):
|
||||
left = next((p for p in device.profiles if not p.enabled), None)
|
||||
self.add_profile_button.set_sensitive(left is not None)
|
||||
|
||||
self.listbox_profiles.foreach(Gtk.Widget.destroy)
|
||||
for profile in device.profiles:
|
||||
profile.connect("notify::enabled", self._on_profile_notify_enabled)
|
||||
profile.connect("notify::dirty", self._on_profile_notify_dirty)
|
||||
|
||||
Reference in New Issue
Block a user