1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00

refactor(ALAboutDialog): replace hide/show methods with 'exec()' for dialog modal handling

This commit is contained in:
2025-12-09 08:19:25 +08:00
parent 7d064fc8e7
commit 069429be71
3 changed files with 68 additions and 35 deletions
+2 -4
View File
@@ -58,7 +58,6 @@ class ALMainWindow(QMainWindow, Ui_ALMainWindow):
}
self.__alTimerTaskWidget = None
self.__alConfigWidget = None
self.__alAboutDialog = None
self.__auto_lib_thread = None
self.__current_timer_task_thread = None
self.__is_running_timer_task = False
@@ -85,9 +84,8 @@ class ALMainWindow(QMainWindow, Ui_ALMainWindow):
self
):
if self.__alAboutDialog is None:
self.__alAboutDialog = ALAboutDialog(self)
self.__alAboutDialog.show()
about_dialog = ALAboutDialog(self)
about_dialog.exec()
def onManualActionTriggered(