Skip to content

Commit

Permalink
Fix passing source of action in Qt Quick GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jan 11, 2025
1 parent 02eca0d commit 2c7665d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tray/gui/qml/MenuItemInstantiator.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Instantiator {
icon.source: modelData.icon.source
icon.width: App.iconSize
icon.height: App.iconSize
onTriggered: modelData?.trigger(source)
onTriggered: (source) => modelData?.trigger(source)
}
required property Menu menu
}

0 comments on commit 2c7665d

Please sign in to comment.