mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
moved simple Paste before special Paste
This commit is contained in:
parent
9c02ecb35a
commit
82ac355a38
1 changed files with 7 additions and 7 deletions
|
|
@ -221,6 +221,13 @@ class BaseWidget(QtWidgets.QWidget):
|
|||
))
|
||||
dialog.exec_()
|
||||
|
||||
# Simple paste value method
|
||||
def paste_value():
|
||||
_set_entity_value(self.entity, value)
|
||||
|
||||
action = QtWidgets.QAction("Paste", menu)
|
||||
output.append((action, paste_value))
|
||||
|
||||
# Paste value to matchin entity
|
||||
def paste_value_to_path():
|
||||
_set_entity_value(matching_entity, value)
|
||||
|
|
@ -229,13 +236,6 @@ class BaseWidget(QtWidgets.QWidget):
|
|||
action = QtWidgets.QAction("Paste to same entity", menu)
|
||||
output.append((action, paste_value_to_path))
|
||||
|
||||
# Simple paste value method
|
||||
def paste_value():
|
||||
_set_entity_value(self.entity, value)
|
||||
|
||||
action = QtWidgets.QAction("Paste")
|
||||
output.append((action, paste_value))
|
||||
|
||||
return output
|
||||
|
||||
def show_actions_menu(self, event=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue