From d33b0066fa682f36f9afcea1cf17f3c9be38fe19 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 25 May 2010 17:59:00 +0000 Subject: [PATCH] Update the edit actions when starting Dolphin, to assure that the state "no_selection" gets triggered svn path=/trunk/KDE/kdebase/apps/; revision=1130573 --- src/dolphinmainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 5f44249b7..da9a10f37 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1301,13 +1301,13 @@ void DolphinMainWindow::init() QClipboard* clipboard = QApplication::clipboard(); connect(clipboard, SIGNAL(dataChanged()), this, SLOT(updatePasteAction())); - updatePasteAction(); - updateGoActions(); if (generalSettings->splitView()) { toggleSplitView(); } + updateEditActions(); updateViewActions(); + updateGoActions(); QAction* showFilterBarAction = actionCollection()->action("show_filter_bar"); showFilterBarAction->setChecked(generalSettings->filterBar()); -- 2.47.3