mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
enhancement/AY-1456_double_click_at_instance_switch_to_publish_tab
This commit is contained in:
parent
2f326c1467
commit
dd776b728b
2 changed files with 6 additions and 6 deletions
|
|
@ -18,6 +18,7 @@ class OverviewWidget(QtWidgets.QFrame):
|
|||
instance_context_changed = QtCore.Signal()
|
||||
create_requested = QtCore.Signal()
|
||||
convert_requested = QtCore.Signal()
|
||||
publish_tab_requested = QtCore.Signal()
|
||||
|
||||
anim_end_value = 200
|
||||
anim_duration = 200
|
||||
|
|
@ -114,13 +115,13 @@ class OverviewWidget(QtWidgets.QFrame):
|
|||
self._on_product_change
|
||||
)
|
||||
product_list_view.double_clicked.connect(
|
||||
self._on_double_clicked
|
||||
self.publish_tab_requested
|
||||
)
|
||||
product_view_cards.selection_changed.connect(
|
||||
self._on_product_change
|
||||
)
|
||||
product_view_cards.double_clicked.connect(
|
||||
self._on_double_clicked
|
||||
self.publish_tab_requested
|
||||
)
|
||||
# Active instances changed
|
||||
product_list_view.active_changed.connect(
|
||||
|
|
@ -299,10 +300,6 @@ class OverviewWidget(QtWidgets.QFrame):
|
|||
instances, context_selected, convertor_identifiers
|
||||
)
|
||||
|
||||
def _on_double_clicked(self):
|
||||
from ayon_core.tools.utils import host_tools
|
||||
host_tools.show_publisher(tab="publish")
|
||||
|
||||
def _on_active_changed(self):
|
||||
if self._refreshing_instances:
|
||||
return
|
||||
|
|
|
|||
|
|
@ -258,6 +258,9 @@ class PublisherWindow(QtWidgets.QDialog):
|
|||
overview_widget.convert_requested.connect(
|
||||
self._on_convert_requested
|
||||
)
|
||||
overview_widget.publish_tab_requested.connect(
|
||||
self._go_to_publish_tab
|
||||
)
|
||||
|
||||
save_btn.clicked.connect(self._on_save_clicked)
|
||||
reset_btn.clicked.connect(self._on_reset_clicked)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue