From 24e8768419ae2067b56c3cac8c7dbdbe02098bcc Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 18 Aug 2021 17:44:10 +0200 Subject: [PATCH] added _set_success_property to able change style of background --- openpype/tools/new_publisher/widgets/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openpype/tools/new_publisher/widgets/widgets.py b/openpype/tools/new_publisher/widgets/widgets.py index c4afa69f96..95d304a3db 100644 --- a/openpype/tools/new_publisher/widgets/widgets.py +++ b/openpype/tools/new_publisher/widgets/widgets.py @@ -1030,3 +1030,6 @@ class PublishOverlayFrame(QtWidgets.QFrame): QtWidgets.QApplication.processEvents() + def _set_success_property(self, success): + self.info_frame.setProperty("success", str(success)) + self.info_frame.style().polish(self.info_frame)