Do not enable the "Create New..." menu when a search is finished

BUG: 321577
FIXED-IN: 4.12.0
REVIEW: 111805
This commit is contained in:
Frank Reininghaus 2013-07-31 19:19:30 +02:00
parent b86388f9c6
commit 4e67f53f1c

View file

@ -1666,7 +1666,7 @@ QMimeData* DolphinView::selectionMimeData() const
void DolphinView::updateWritableState()
{
const bool wasFolderWritable = m_isFolderWritable;
m_isFolderWritable = true;
m_isFolderWritable = false;
const KFileItem item = m_model->rootItem();
if (!item.isNull()) {