forked from AuroraMiddleware/gtk
filechoosernativewin32: Set default extension
This commit is contained in:
parent
254eca269a
commit
0c83807a5a
@ -600,6 +600,10 @@ filechooser_win32_thread (gpointer _data)
|
||||
if (FAILED (hr))
|
||||
g_warning_hr ("Can't set file types", hr);
|
||||
|
||||
hr = IFileDialog_SetDefaultExtension (pfd, L"");
|
||||
if (FAILED (hr))
|
||||
g_warning_hr ("Can't set default extension", hr);
|
||||
|
||||
if (data->self->current_filter)
|
||||
{
|
||||
GListModel *filters;
|
||||
|
Loading…
Reference in New Issue
Block a user