Commit 08e3e724 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix bug 130485

CCBUG: 130485

svn path=/trunk/koffice/; revision=601453
parent f0fe081b
......@@ -630,10 +630,11 @@ void KisView::setupActions()
m_layerDup = new KAction(i18n("Duplicate"), actionCollection(), "duplicate_layer");
connect(m_layerDup, SIGNAL(triggered()), this, SLOT(layerDuplicate()));
m_layerHide = new KAction(i18n("&Hide/Show"), actionCollection(), "hide_layer");
connect(m_layerHide, SIGNAL(triggered()), this, SLOT(layerToggleVisible()));
m_layerRaise = new KAction(KIcon("raise"), i18n("Raise"), actionCollection(), "raiselayer");
m_layerHide = new KToggleAction(i18n("&Hide"), 0, this, SLOT(layerToggleVisible()), actionCollection(), "hide_layer");
m_layerHide->setCheckedState(KGuiItem(i18n("&Show")));
m_layerHide->setChecked(false)_layerRaise = new KAction(KIcon("raise"), i18n("Raise"), actionCollection(), "raiselayer");
m_layerRaise->setShortcut(Qt::CTRL+Qt::Key_BracketRight);
connect(m_layerRaise, SIGNAL(triggered()), this, SLOT(layerRaise()));
......
......@@ -554,7 +554,7 @@ private:
KAction *m_layerAdd;
KAction *m_layerBottom;
KAction *m_layerDup;
KAction *m_layerHide;
KToggleAction *m_layerHide;
KAction *m_layerLower;
KAction *m_layerProperties;
KAction *m_layerRaise;
......
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