diff options
| author | Peter Penz <[email protected]> | 2008-12-12 18:20:01 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-12 18:20:01 +0000 |
| commit | 03407356cac7e07147b22077c5e6218bb8d53063 (patch) | |
| tree | 8bb34e62839ffd831ca0e1026f78f442da1d9e90 /src/dolphinviewcontainer.cpp | |
| parent | 85aec92f819eae5a6189bd3ec25cff44dce3ae19 (diff) | |
don't disable the "Create New" menu entry, when switching between columns of the column view
BUG: 173153
svn path=/trunk/KDE/kdebase/apps/; revision=896156
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 2ef6209bc..c75553c4b 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -176,11 +176,12 @@ DolphinViewContainer::~DolphinViewContainer() void DolphinViewContainer::setUrl(const KUrl& newUrl) { m_urlNavigator->setUrl(newUrl); - - // Temporary disable the 'File'->'Create New...' menu until - // the write permissions can be checked in a fast way at - // DolphinViewContainer::slotDirListerCompleted(). - m_mainWindow->newMenu()->menu()->setEnabled(false); + if (newUrl != m_urlNavigator->url()) { + // Temporary disable the 'File'->'Create New...' menu until + // the write permissions can be checked in a fast way at + // DolphinViewContainer::slotDirListerCompleted(). + m_mainWindow->newMenu()->menu()->setEnabled(false); + } } const KUrl& DolphinViewContainer::url() const |
