diff --git a/python/tk_multi_publish2/api/plugins/publish_plugin_instance.py b/python/tk_multi_publish2/api/plugins/publish_plugin_instance.py index 9c58f5c7..0381f149 100644 --- a/python/tk_multi_publish2/api/plugins/publish_plugin_instance.py +++ b/python/tk_multi_publish2/api/plugins/publish_plugin_instance.py @@ -154,7 +154,7 @@ def run_accept(self, item): ) return {"accepted": False} finally: - if not sgtk.platform.current_engine().has_ui: + if sgtk.platform.current_engine().has_ui: from sgtk.platform.qt import QtCore QtCore.QCoreApplication.processEvents()