From 4ebea6fed1131ff045b4b9b3e4c5b8eb8ba0cf31 Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Wed, 16 Aug 2017 09:54:52 +0200 Subject: [PATCH] MousePerspective: replace == with is --- piper/mouseperspective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piper/mouseperspective.py b/piper/mouseperspective.py index dfb855e..2e01a60 100644 --- a/piper/mouseperspective.py +++ b/piper/mouseperspective.py @@ -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()