don't warn if src tag not found

This commit is contained in:
Piotr Miller
2021-06-08 11:45:39 +02:00
parent acfd8414b2
commit 1c7de46518

View File

@@ -536,8 +536,11 @@ class PopupWindow(Gtk.Window):
def on_window_enter(self, *args):
if self.src_tag > 0:
GLib.Source.remove(self.src_tag)
self.src_tag = 0
try:
GLib.Source.remove(self.src_tag)
self.src_tag = 0
except:
pass
return True
def on_window_show(self, *args):