Commit d99b1f4f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix buttons in the layers docker

(hope noone had time to notice they were broken :) )
parent b7170a05
......@@ -2427,7 +2427,7 @@
<statusTip></statusTip>
</Action>
<Action name="duplicatelayer">
<icon>edit-copy</icon>
<icon>duplicatelayer</icon>
<text>&amp;Duplicate Layer or Mask</text>
<whatsThis></whatsThis>
<toolTip>Duplicate Layer or Mask</toolTip>
......@@ -3088,7 +3088,7 @@
<statusTip></statusTip>
</Action>
<Action name="move_layer_up">
<icon></icon>
<icon>arrowupblr</icon>
<text>Move Layer or Mask Up</text>
<whatsThis></whatsThis>
<toolTip>Move Layer or Mask Up</toolTip>
......@@ -3099,7 +3099,7 @@
<statusTip></statusTip>
</Action>
<Action name="move_layer_down">
<icon></icon>
<icon>arrowdown</icon>
<text>Move Layer or Mask down</text>
<whatsThis></whatsThis>
<toolTip>Move Layer or Mask Down</toolTip>
......
......@@ -33,6 +33,9 @@ public:
m_button(button)
{
connect(m_action, SIGNAL(changed()), SLOT(slotActionChanged()));
connect(m_button, SIGNAL(clicked()), m_action, SLOT(trigger()));
m_button->setIcon(m_action->icon());
m_button->setText(m_action->text());
}
private Q_SLOTS:
......
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