Added 'saveFileMode' option to file dialog state (#177)
This commit is contained in:
parent
627e879018
commit
0dd763f4a4
@ -78,6 +78,8 @@ typedef struct {
|
||||
|
||||
int prevFilesListActive;
|
||||
|
||||
bool saveFileMode;
|
||||
|
||||
} GuiFileDialogState;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -350,7 +352,7 @@ void GuiFileDialog(GuiFileDialogState *state)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (!state->saveFileMode)
|
||||
{
|
||||
strcpy(state->fileNameText, state->fileNameTextCopy);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user