GUI: fix / appearing as file name in IGFD
every time the dialog is opened
This commit is contained in:
parent
7cd4c9535a
commit
43d330831a
|
@ -1197,7 +1197,7 @@ namespace IGFD
|
|||
if (puDLGDirectoryMode) // directory mode
|
||||
SetDefaultFileName(".");
|
||||
else
|
||||
SetDefaultFileName(puDLGDefaultFileName);
|
||||
SetDefaultFileName("");
|
||||
ScanDir(vFileDialogInternal, GetCurrentPath());
|
||||
}
|
||||
|
||||
|
@ -3417,7 +3417,7 @@ namespace IGFD
|
|||
if (ps.isOk)
|
||||
{
|
||||
prFileDialogInternal.puFileManager.puDLGpath = ps.path;
|
||||
prFileDialogInternal.puFileManager.SetDefaultFileName(vFilePathName);
|
||||
prFileDialogInternal.puFileManager.SetDefaultFileName("");
|
||||
prFileDialogInternal.puFilterManager.puDLGdefaultExt = "." + ps.ext;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue