Commit 1fe17925 authored by Julien Donjon's avatar Julien Donjon Committed by Albert Astals Cid
Browse files

Fix buttons accessibility in KMenuEdit

BUGS: 296682
FIXED-IN: 4.10.0
parent 316b2dcb
......@@ -1208,10 +1208,6 @@ void TreeView::cut()
{
copy( true );
m_ac->action("edit_cut")->setEnabled(false);
m_ac->action("edit_copy")->setEnabled(false);
m_ac->action("delete")->setEnabled(false);
// Select new current item
// TODO: is this completely redundant?
setCurrentItem(currentItem());
......@@ -1419,9 +1415,6 @@ void TreeView::del()
del(item, true);
m_ac->action("edit_cut")->setEnabled(false);
m_ac->action("edit_copy")->setEnabled(false);
m_ac->action("delete")->setEnabled(false);
// Select new current item
// TODO: is this completely redundant?
setCurrentItem(currentItem());
......
Supports Markdown
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