┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-11-18 22:27:31 +0000
committerDavid Faure <[email protected]>2009-11-18 22:27:31 +0000
commitf2c315a147ff4ec9c76e28e0636a02f81fba9548 (patch)
tree24b1ee52ba2acc90acde69346ef7dab0d30adab5 /src/dolphinpart.cpp
parentd4a983d98c9832cee6bc400078dd5c2551a15529 (diff)
Warn when the unsuspecting user is about to create a directory that starts with a dot,
like Sabine's ".csv test files" folder, which did not appear in the directory view after being created. svn path=/trunk/KDE/kdebase/apps/; revision=1051124
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index 43d6fd137..a7e03deeb 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -535,6 +535,7 @@ void DolphinPart::updateNewMenu()
{
// As requested by KNewMenu :
m_newMenu->slotCheckUpToDate();
+ m_newMenu->setViewShowsHiddenFiles(m_view->showHiddenFiles());
// And set the files that the menu apply on :
m_newMenu->setPopupFiles(url());
}
@@ -551,6 +552,7 @@ void DolphinPart::updateProgress(int percent)
void DolphinPart::createDirectory()
{
+ m_newMenu->setViewShowsHiddenFiles(m_view->showHiddenFiles());
m_newMenu->setPopupFiles(url());
m_newMenu->createDirectory();
}