Commit 259fb603 authored by Davide Gianforte's avatar Davide Gianforte

Fix UserAction icons

The button holding the useraction icon is not set when selecting an element,
but only when the icon is changed by the user. The last saved icon is applied
to the following change if its icon is not changed.

BUG: 328936
BUG: 423434
FIXED: [ 328936 ] "User action manager"; lost icon
FIXED: [ 423434 ] UserAction icon is lost
parent 566ad961
......@@ -199,7 +199,7 @@ void ActionProperty::updateGUI(KrAction *action)
chkConfirmExecution->setChecked(_action->confirmExecution());
if (! _action->icon().isNull())
ButtonIcon->setIcon(_action->icon());
ButtonIcon->setIcon(_action->iconName());
else
ButtonIcon->resetIcon();
......
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