mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
File hierarchy dialog. Stop if no root dir
This commit is contained in:
1 parent
5d840368b1
commit
a039bcd0a9
1 file changed
+2
@@ -305,6 +305,8 @@ QString RicFileHierarchyDialog::currentStatus() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QStringList RicFileHierarchyDialog::findMatchingFiles()
|
||||
{
|
||||
if (m_rootDir->text().isEmpty()) return QStringList();
|
||||
|
||||
const QStringList& dirs = buildDirectoryListRecursive(rootDir());
|
||||
const QStringList& files = findFilesInDirs(dirs);
|
||||
|
||||
|
||||
Reference in new issue
Block a user