summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-09-24 17:53:53 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-09-24 18:01:24 +0000
commitae0d1237396751400db07e1da559b47f93cb9918 (patch)
tree3cb4e9ef7e24250755da78e1dbd3fe0003ef3fc2 /src/shortcuts.cpp
parentFix a crash in CUSTOM_TYPE Windows native file open dialogs (diff)
downloadinkscape-ae0d1237396751400db07e1da559b47f93cb9918.tar.gz
inkscape-ae0d1237396751400db07e1da559b47f93cb9918.zip
Filter .xml documents when importing shortcuts
See also 1f3a3972058ab3bed26088420bc377ef569e73cf
Diffstat (limited to 'src/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp2
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();