From ae0d1237396751400db07e1da559b47f93cb9918 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Tue, 24 Sep 2019 19:53:53 +0200 Subject: Filter .xml documents when importing shortcuts See also 1f3a3972058ab3bed26088420bc377ef569e73cf --- src/shortcuts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3