Fix "Restart" button putting mcedit2.exe in the args list twice
This commit is contained in:
parent
59f3c0bb92
commit
34fa322c92
@ -127,7 +127,7 @@ class ErrorDialog(QtGui.QDialog, Ui_errorDialog):
|
||||
self.copyToPastebinLabel.setText(self.tr("Pastebin URL copied to clipboard!"))
|
||||
|
||||
def restartMCEdit(self):
|
||||
QtCore.QProcess.startDetached(sys.executable, sys.argv)
|
||||
QtCore.QProcess.startDetached(sys.executable, sys.argv[1:])
|
||||
raise SystemExit
|
||||
|
||||
def quitMCEdit(self):
|
||||
|
Reference in New Issue
Block a user