mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-08-03 18:57:27 -04:00
Merge pull request #1351 from sungsphinx/sdl3-save-dialog-filters
SDL3: Fix only 1 filter type showing on save dialog
This commit is contained in:
commit
59cf7735a3
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "net.classicube.flatpak.client",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "47",
|
||||
"runtime-version": "48",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"command": "ClassiCubeLauncher",
|
||||
"finish-args": [
|
||||
|
@ -426,7 +426,7 @@ cc_result Window_SaveFileDialog(const struct SaveFileDialogArgs* args) {
|
||||
|
||||
dlgCallback = args->Callback;
|
||||
save_filters = filters;
|
||||
SDL_ShowSaveFileDialog(DialogCallback, NULL, win_handle, filters, 1, defName);
|
||||
SDL_ShowSaveFileDialog(DialogCallback, NULL, win_handle, filters, i, defName);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user