keep SETTINGS_LAST_CHECK_PATH on no selected files (#5016)
set SETTINGS_LAST_CHECK_PATH only when mCurrentDirectory is not empty.
This commit is contained in:
parent
6c39d087b2
commit
bd8a6f0681
|
@ -684,7 +684,7 @@ QStringList MainWindow::selectFilesToAnalyze(QFileDialog::FileMode mode)
|
|||
formatAndSetTitle(dir);
|
||||
}
|
||||
}
|
||||
|
||||
if (!mCurrentDirectory.isEmpty())
|
||||
setPath(SETTINGS_LAST_CHECK_PATH, mCurrentDirectory);
|
||||
|
||||
return selected;
|
||||
|
|
Loading…
Reference in New Issue