┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-01-28 15:04:32 +0100
committerEmmanuel Pescosta <[email protected]>2015-01-28 15:04:32 +0100
commit7a7e8ee819f0baeeb94b36d5cdc37a30aee83c4a (patch)
treeb165df27df2c20824f018072ce07263d1eff6fc0 /src
parent7e03c99ebbba7fd4c6b15dc885460e4dbf18f7b4 (diff)
undo should be disabled by default
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 830669726..2dc61c588 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1087,6 +1087,9 @@ void DolphinMainWindow::setupActions()
undoCloseTab->setEnabled(false);
connect(undoCloseTab, SIGNAL(triggered()), recentTabsMenu, SLOT(undoCloseTab()));
+ auto undoAction = actionCollection()->action(KStandardAction::name(KStandardAction::Undo));
+ undoAction->setEnabled(false); // undo should be disabled by default
+
KStandardAction::forward(this, SLOT(goForward()), actionCollection());
KStandardAction::up(this, SLOT(goUp()), actionCollection());
KStandardAction::home(this, SLOT(goHome()), actionCollection());