mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
trigger reset on show with small delay so setting ui is visible
This commit is contained in:
parent
79096aa494
commit
6d678c242b
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ class MainWidget(QtWidgets.QWidget):
|
|||
super(MainWidget, self).showEvent(event)
|
||||
if self._reset_on_show:
|
||||
self._reset_on_show = False
|
||||
self.reset()
|
||||
# Trigger reset with 100ms delay
|
||||
QtCore.QTimer.singleShot(100, self.reset)
|
||||
|
||||
def _show_password_dialog(self):
|
||||
if self._password_dialog:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue