GUI: Set current directory when loading a project file.
This commit is contained in:
parent
c8e073576c
commit
2da6a242d2
|
@ -702,7 +702,10 @@ void MainWindow::OpenProjectFile()
|
|||
mProject->Open();
|
||||
QStringList paths = mProject->GetProjectFile()->GetCheckPaths();
|
||||
if (!paths.isEmpty())
|
||||
{
|
||||
mCurrentDirectory = paths[0];
|
||||
DoCheckFiles(paths);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue