mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hide shadow widget only if is visible
This commit is contained in:
parent
c47517a1f0
commit
8553b042d5
1 changed files with 2 additions and 1 deletions
|
|
@ -153,7 +153,8 @@ class Window(QtWidgets.QDialog):
|
|||
QtWidgets.QApplication.processEvents()
|
||||
|
||||
def working_stop(self):
|
||||
self.shadow_widget.setVisible(False)
|
||||
if self.shadow_widget.isVisible():
|
||||
self.shadow_widget.setVisible(False)
|
||||
|
||||
def validation(self):
|
||||
if not self.initialized:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue