diff options
| author | Jan Grulich <jgrulich@redhat.com> | 2020-10-07 08:36:44 +0200 |
|---|---|---|
| committer | Jan Grulich <jgrulich@redhat.com> | 2020-10-12 10:14:52 +0200 |
| commit | 316bf124437f4aaef10c29db5a158092ca7a832a (patch) | |
| tree | 446061da5dabf7c80feab07cd91e3a00bf0d7cd7 /src/gui/doc/snippets/code | |
| parent | 2189e0f2fc2aadf84ed53a7ae6210e2bbe04b45e (diff) | |
FileChooser portal: skip empty filters to avoid rejection from portals
Xdg-desktop-portal will reject any OpenFile request if there is an empty
filter. We will just simply skip it to avoid the rejection so users get
a file dialog.
Pick-to: 5.15
Change-Id: I85c056f46b22cdbc9e14010bc3c49206b6f8f002
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
