commit 0ccde1a9477b53b04d33c07b1f0f481e8d77706a
parent 69e98b910b09eef590df3ec1470725607418395e
Author: gearsix <gearsix@tuta.io>
Date: Mon, 7 Nov 2022 15:25:27 +0000
bugfix: optionsOk is enabled in done, not postMain
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/sya-pyqt.py b/sya-pyqt.py
@@ -133,17 +133,17 @@ class SyaGui(qtwidg.QMainWindow):
sys.exit()
def done(self):
- self.loggerTextbox.clear()
- self.logger.hide()
self.set_tracklist('')
self.set_output('')
+ self.optionsOk.setEnabled(True)
+ self.logger.hide()
+ self.loggerTextbox.clear()
def preMain(self):
self.optionsOk.setEnabled(False)
self.loggerDone.setEnabled(False)
def postMain(self):
- self.optionsOk.setEnabled(True)
self.loggerDone.setEnabled(True)
def main(self):
@@ -284,6 +284,7 @@ class SyaGui(qtwidg.QMainWindow):
self.logger = qtwidg.QWidget()
self.logger.setLayout(layout)
+ self.logger.setWindowIcon(qtgui.QIcon(resource_path('sya.png')))
self.logger.resize(800, 400)
self.logger.move(center_widget(self.logger))