mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
don't go to root with mouse click
This commit is contained in:
parent
1323ad1753
commit
946e7da7f8
1 changed files with 3 additions and 1 deletions
|
|
@ -325,7 +325,9 @@ class BreadcrumbsButton(QtWidgets.QToolButton):
|
|||
self.setSizePolicy(size_policy)
|
||||
|
||||
menu.triggered.connect(self._on_menu_click)
|
||||
self.clicked.connect(self._on_click)
|
||||
# Don't allow to go to root with mouse click
|
||||
if path:
|
||||
self.clicked.connect(self._on_click)
|
||||
|
||||
self._path = path
|
||||
self._path_prefix = path_prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue