ok so fix the file dialog
This commit is contained in:
parent
a5561f1899
commit
ef0e19413c
3 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue