Fix Project panel inaccurate save dialog initilized path

Fix #13086, close #13936
This commit is contained in:
Don Ho 2023-07-27 02:55:28 +02:00
parent 3bdefd88d0
commit 4df27c8e8b
1 changed files with 1 additions and 0 deletions

View File

@ -1192,6 +1192,7 @@ bool ProjectPanel::saveWorkSpaceAs(bool saveCopyAs)
CustomFileDialog fDlg(_hSelf);
setFileExtFilter(fDlg);
fDlg.setExtIndex(0); // 0 index for "custom extention" type if any else for "All types *.*"
fDlg.setFolder(getWorkSpaceFilePath());
const generic_string fn = fDlg.doSaveDlg();
if (fn.empty())