Skip to content

Commit fb5e057

Browse files
authored
Console: Fix open file dialog on restart issue
1 parent a5f4280 commit fb5e057

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugindevtools/PluginDevTools/PluginDevToolsWidget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,6 @@ def __init__(self, caller):
575575

576576
self.caller.centralWidget.consoleClearBtn.clicked.connect(self.clearConsole)
577577

578-
self.caller.centralWidget.consoleTempScriptFileBtn.toggled.connect(self.tempScriptFile)
579-
self.caller.centralWidget.consoleSetScriptFileBtn.toggled.connect(self.setScriptFile)
580-
581578
for key in self.EXECUTE_KEYS:
582579
self.caller.centralWidget.consoleDefaultExecuteCmb.addItem( key[0], key[1] )
583580

@@ -601,6 +598,9 @@ def __init__(self, caller):
601598
else:
602599
self.caller.centralWidget.consoleSetScriptFileBtn.setChecked(True)
603600

601+
self.caller.centralWidget.consoleTempScriptFileBtn.toggled.connect(self.tempScriptFile)
602+
self.caller.centralWidget.consoleSetScriptFileBtn.toggled.connect(self.setScriptFile)
603+
604604
self.firstRun = True
605605

606606
def selected(self):

0 commit comments

Comments
 (0)