From 1360705c496e9ed135734147dd75ab3587254ce4 Mon Sep 17 00:00:00 2001 From: CAILLOT Cyprien Date: Thu, 24 Aug 2023 18:06:42 +0200 Subject: [PATCH] block launcher if user close the password dialog --- openpype/modules/launcher_action.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openpype/modules/launcher_action.py b/openpype/modules/launcher_action.py index 709cfa79385..f7b167aa1eb 100644 --- a/openpype/modules/launcher_action.py +++ b/openpype/modules/launcher_action.py @@ -55,6 +55,8 @@ def show_launcher(self): dialog = PasswordDialog(allow_remember=True) dialog.setModal(True) dialog.exec_() + if not dialog.result(): + return if self.window: self.window.show()