diff --git a/src/plugins/coreplugin/locator/filesystemfilter.cpp b/src/plugins/coreplugin/locator/filesystemfilter.cpp index 9c3f8ae06aa..5ed25277f43 100644 --- a/src/plugins/coreplugin/locator/filesystemfilter.cpp +++ b/src/plugins/coreplugin/locator/filesystemfilter.cpp @@ -74,6 +74,7 @@ void FileSystemFilter::prepareSearch(const QString &entry) { Q_UNUSED(entry) m_currentDocumentDirectory = DocumentManager::fileDialogInitialDirectory(); + m_currentIncludeHidden = m_includeHidden; } QList FileSystemFilter::matchesFor(QFutureInterface &future, @@ -92,7 +93,7 @@ QList FileSystemFilter::matchesFor(QFutureInterface