fix Print panel not showing fixes #993

This commit is contained in:
alfrix 2023-05-27 20:53:32 -06:00
parent 2a0ea6e248
commit c38a3273f3

View File

@ -348,7 +348,8 @@ class KlipperScreen(Gtk.Window):
if self.popup_message is None:
return
self.popup_message.popdown()
GLib.source_remove(self.popup_timeout)
if self.popup_timeout is not None:
GLib.source_remove(self.popup_timeout)
self.popup_message = self.popup_timeout = None
def show_error_modal(self, err, e=""):