diff options
Diffstat (limited to 'src/file.cpp')
| -rw-r--r-- | src/file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp index efbada332..0a81069d9 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -621,6 +621,11 @@ sp_file_save_dialog(SPDocument *doc, bool is_copy) saveDialog->change_title(dialog_title); saveDialog->setSelectionType(extension); + // allow easy access to the user's own templates folder + gchar *templates = profile_path ("templates"); + dynamic_cast<Gtk::FileChooser *>(saveDialog)->add_shortcut_folder(templates); + g_free (templates); + bool success = saveDialog->show(); if (!success) { delete saveDialog; |
