From 48f33df91b3ace809d6398e84de5f0fc7ce5df90 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 25 Jan 2023 21:44:34 +0100 Subject: fix display of window title --- lib/isodumper.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/isodumper.py b/lib/isodumper.py index 4cff6ce..b83dad4 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -1176,6 +1176,9 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog def run(self, debug=False): + self.backupTitle = yui.YUI.app().applicationTitle() + yui.YUI.app().setApplicationTitle(self._title) + self._setupUI() # setting to False will break the event loop self._running = True @@ -1188,6 +1191,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog traceback.print_exc() yui.YDialog.deleteAllDialogs() # Closing + #restore old application title + yui.YUI.app().setApplicationTitle(self.backupTitle) self.dialog.destroy() self.dialog = None if yui.YUI.app().isTextMode(): -- cgit v1.2.1