diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-24 17:53:53 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-09-24 18:01:24 +0000 |
| commit | ae0d1237396751400db07e1da559b47f93cb9918 (patch) | |
| tree | 3cb4e9ef7e24250755da78e1dbd3fe0003ef3fc2 /src | |
| parent | Fix a crash in CUSTOM_TYPE Windows native file open dialogs (diff) | |
| download | inkscape-ae0d1237396751400db07e1da559b47f93cb9918.tar.gz inkscape-ae0d1237396751400db07e1da559b47f93cb9918.zip | |
Filter .xml documents when importing shortcuts
See also 1f3a3972058ab3bed26088420bc377ef569e73cf
Diffstat (limited to 'src')
| -rw-r--r-- | src/shortcuts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index ba32c1753..406508187 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -457,7 +457,7 @@ bool sp_shortcut_file_import() { open_path, Inkscape::UI::Dialog::CUSTOM_TYPE, _("Select a file to import")); - importFileDialog->addFilterMenu("All Files", "*"); + importFileDialog->addFilterMenu(_("Inkscape shortcuts (*.xml)"), "*.xml"); //# Show the dialog bool const success = importFileDialog->show(); |
