ok so fix the file dialog

This commit is contained in:
tildearrow 2022-02-22 22:41:37 -05:00
parent a5561f1899
commit ef0e19413c
3 changed files with 5 additions and 3 deletions

View file

@ -3915,6 +3915,7 @@ bool dirExists(String what) {
void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) {
if (!dirExists(workingDir)) workingDir=getHomeDir();
ImGuiFileDialog::Instance()->DpiScale=dpiScale;
switch (type) {
case GUI_FILE_OPEN:
ImGuiFileDialog::Instance()->OpenModal("FileDialog","Open File","compatible files{.fur,.dmf},.*",workingDir);