diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-01-28 15:04:32 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-01-28 15:04:32 +0100 |
| commit | 7a7e8ee819f0baeeb94b36d5cdc37a30aee83c4a (patch) | |
| tree | b165df27df2c20824f018072ce07263d1eff6fc0 /src | |
| parent | 7e03c99ebbba7fd4c6b15dc885460e4dbf18f7b4 (diff) | |
undo should be disabled by default
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 3 |
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()); |
