summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
diff options
context:
space:
mode:
authorEduard Braun <Eduard.Braun2@gmx.de>2017-06-20 23:41:52 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-06-23 21:55:03 +0000
commit1f3a3972058ab3bed26088420bc377ef569e73cf (patch)
treee105302ac5b02dbcdb3db6652b427559e5e380f6 /src/shortcuts.cpp
parentAllow to set shortcuts for characters that need to be escaped (e.g. "<>&") (diff)
downloadinkscape-1f3a3972058ab3bed26088420bc377ef569e73cf.tar.gz
inkscape-1f3a3972058ab3bed26088420bc377ef569e73cf.zip
Use .xml when exporting shortcuts by default
Diffstat (limited to 'src/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp
index 6c8ccd2ee..6dd828dc2 100644
--- a/src/shortcuts.cpp
+++ b/src/shortcuts.cpp
@@ -392,13 +392,14 @@ void sp_shortcut_file_export()
Inkscape::UI::Dialog::FileSaveDialog::create(
*(desktop->getToplevel()),
open_path,
- Inkscape::UI::Dialog::CUSTOM_TYPE,
- _("Select a filename for exporting"),
- "",
- "",
- Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS
+ Inkscape::UI::Dialog::CUSTOM_TYPE,
+ _("Select a filename for exporting"),
+ "",
+ "",
+ Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS
);
- saveDialog->addFileType("All Files", "*");
+ saveDialog->addFileType(_("Inkscape shortcuts (*.xml)"), ".xml");
+
bool success = saveDialog->show();
if (!success) {