mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add missing argument in context_menu_requested signal
This commit is contained in:
parent
fdc351f4d0
commit
f40ee8f547
1 changed files with 2 additions and 2 deletions
|
|
@ -522,7 +522,7 @@ class FilesProxyModel(QtCore.QSortFilterProxyModel):
|
|||
|
||||
|
||||
class ItemWidget(QtWidgets.QWidget):
|
||||
context_menu_requested = QtCore.Signal(QtCore.QPoint)
|
||||
context_menu_requested = QtCore.Signal(QtCore.QPoint, bool)
|
||||
|
||||
def __init__(
|
||||
self, item_id, label, pixmap_icon, is_sequence, multivalue, parent=None
|
||||
|
|
@ -589,7 +589,7 @@ class ItemWidget(QtWidgets.QWidget):
|
|||
def _on_actions_clicked(self):
|
||||
pos = self._split_btn.rect().bottomLeft()
|
||||
point = self._split_btn.mapToGlobal(pos)
|
||||
self.context_menu_requested.emit(point)
|
||||
self.context_menu_requested.emit(point, False)
|
||||
|
||||
|
||||
class InViewButton(IconButton):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue