mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
trigger refresh only if dialog is visible
This commit is contained in:
parent
51ba573eaf
commit
55b3468c26
1 changed files with 3 additions and 1 deletions
|
|
@ -279,7 +279,9 @@ class CreateDialog(QtWidgets.QDialog):
|
|||
self.family_view.setCurrentIndex(index)
|
||||
|
||||
def _on_control_reset(self):
|
||||
self.refresh()
|
||||
# Trigger refresh only if is visible
|
||||
if self.isVisible():
|
||||
self.refresh()
|
||||
|
||||
def _on_family_change(self, new_index, old_index):
|
||||
family = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue