Update main.py

Make the launcher only hide is self.showlauncher.isChecked() is True
This commit is contained in:
Red-exe-Engineer 2022-03-11 21:58:33 -06:00 committed by GitHub
parent 3dec77927a
commit 21d08b5d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,8 @@ class Planet(QMainWindow):
print(self.env)
self.hide()
launcher.run(self.env)
if self.showlauncher.isChecked() == True:
launcher.run(self.env)
self.show()