mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #1474 from pypeclub/bugfix/run_btn_enabled
Igniter buttons enable/disable fix
This commit is contained in:
commit
ff6be32a81
1 changed files with 1 additions and 2 deletions
|
|
@ -383,8 +383,6 @@ class InstallDialog(QtWidgets.QDialog):
|
||||||
else:
|
else:
|
||||||
raise AssertionError("BUG: Unknown variant \"{}\"".format(option))
|
raise AssertionError("BUG: Unknown variant \"{}\"".format(option))
|
||||||
|
|
||||||
self._enable_buttons()
|
|
||||||
|
|
||||||
def _run_openpype_from_code(self):
|
def _run_openpype_from_code(self):
|
||||||
os.environ["OPENPYPE_MONGO"] = self.mongo_url
|
os.environ["OPENPYPE_MONGO"] = self.mongo_url
|
||||||
try:
|
try:
|
||||||
|
|
@ -423,6 +421,7 @@ class InstallDialog(QtWidgets.QDialog):
|
||||||
QtWidgets.QApplication.processEvents()
|
QtWidgets.QApplication.processEvents()
|
||||||
self.done(3)
|
self.done(3)
|
||||||
else:
|
else:
|
||||||
|
self._enable_buttons()
|
||||||
self._show_console()
|
self._show_console()
|
||||||
|
|
||||||
def _update_progress(self, progress: int):
|
def _update_progress(self, progress: int):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue