mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
change tab on reset only if is on report tab (Details for user)
This commit is contained in:
parent
6ab581df7d
commit
1cc9a7a90f
1 changed files with 2 additions and 5 deletions
|
|
@ -649,11 +649,8 @@ class PublisherWindow(QtWidgets.QDialog):
|
|||
if first_reset:
|
||||
self._go_to_create_tab()
|
||||
|
||||
elif (
|
||||
not self._is_on_create_tab()
|
||||
and not self._is_on_publish_tab()
|
||||
):
|
||||
# If current tab is not 'Create' or 'Publish' go to 'Publish'
|
||||
elif self._is_on_report_tab():
|
||||
# Go to 'Publish' tab if is on 'Details' tab
|
||||
# - this can happen when publishing started and was reset
|
||||
# at that moment it doesn't make sense to stay at publish
|
||||
# specific tabs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue