Skip to content

Commit a3d2930

Browse files
committed
Make closing the AM exit when running in standalone mode
1 parent bcebe08 commit a3d2930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def run_addon_manager():
5656

5757
QtCore.QThread.currentThread().setObjectName("Main GUI thread")
5858
command = AddonManager.CommandAddonManager()
59+
command.finished.connect(sys.exit)
5960
command.Activated()
6061

6162

@@ -64,4 +65,3 @@ def run_addon_manager():
6465
app.setQuitOnLastWindowClosed(False)
6566
setup_translations()
6667
app.exec()
67-
sys.exit()

0 commit comments

Comments
 (0)