Commit f9b14da7 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Forward the full icon instance for action bridges

parent 43f8d067
......@@ -31,7 +31,7 @@ Action
text: action ? removeAmpersand(action.text) : "<null>"
checked: action && action.checked
enabled: action && action.enabled
icon.name: action ? app.iconName(action.icon) : ""
icon: action ? action.icon : undefined
shortcut: action ? action.shortcut : undefined
onTriggered: action.trigger()
......
......@@ -32,7 +32,7 @@ Kirigami.Action
checked: action && action.checked
enabled: action && action.enabled
tooltip: action ? action.toolTip : ""
iconName: action ? app.iconName(action.icon) : ""
icon: action ? action.icon : undefined
shortcut: action ? action.shortcut : undefined
onTriggered: action.trigger()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment