mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 00:08:29 +02:00
[GraphEditor] Fix injections into signal handlers with JS functions
This commit is contained in:
parent
faff99f963
commit
cb301b2aaa
3 changed files with 6 additions and 6 deletions
|
@ -118,7 +118,7 @@ Item {
|
|||
ToolTip.text: "Execute Script"
|
||||
|
||||
onClicked: {
|
||||
processScript()
|
||||
root.processScript()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -285,9 +285,9 @@ Item {
|
|||
root.forceActiveFocus()
|
||||
}
|
||||
|
||||
Keys.onPressed: {
|
||||
Keys.onPressed: function(event) {
|
||||
if ((event.key === Qt.Key_Enter || event.key === Qt.Key_Return) && event.modifiers === Qt.ControlModifier) {
|
||||
processScript()
|
||||
root.processScript()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue