Update app.py

This commit is contained in:
aufr33 2021-06-17 05:33:27 +03:00 committed by GitHub
parent a046908550
commit a75dce519a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,6 +133,9 @@ class CustomApplication(QtWidgets.QApplication):
theme = self.settings.value('user/theme',
const.DEFAULT_SETTINGS['theme'])
self.themeManager.load_theme(theme)
with open(os.path.join(os.getcwd(), '..', 'startup', 'run.txt'), 'w') as f:
f.write('1')
@ staticmethod
def improved_combobox_showPopup(widget: QtWidgets.QComboBox, showPopup: QtWidgets.QComboBox.showPopup):