mirror of
https://github.com/libratbag/piper.git
synced 2026-05-19 12:26:00 -04:00
MousePerspective: replace == with is
This commit is contained in:
committed by
Peter Hutterer
parent
9f6e8aa6f7
commit
4ebea6fed1
@@ -104,7 +104,7 @@ class MousePerspective(Gtk.Overlay):
|
||||
profile.connect("notify::dirty", self._on_profile_notify_dirty)
|
||||
row = ProfileRow(profile)
|
||||
self.listbox_profiles.insert(row, profile.index)
|
||||
if profile == active_profile:
|
||||
if profile is active_profile:
|
||||
self.listbox_profiles.select_row(row)
|
||||
self.show_all()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user