From b3419faaf2252a4e031db217f50edaf0531641ab Mon Sep 17 00:00:00 2001 From: Christophe Lebras Date: Sat, 1 Jul 2017 17:58:21 +0000 Subject: Add function to save template Saves template as default. Does not save template informations yet. --- src/verbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/verbs.cpp') diff --git a/src/verbs.cpp b/src/verbs.cpp index 9394aeb81..4827ba631 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -894,7 +894,7 @@ void FileVerb::perform(SPAction *action, void *data) sp_file_save_a_copy(*parent, NULL, NULL); break; case SP_VERB_FILE_SAVE_TEMPLATE: - Inkscape::UI::Dialog::SaveTemplate::save_document_as_template(); + Inkscape::UI::Dialog::SaveTemplate::save_document_as_template(*parent); break; case SP_VERB_FILE_PRINT: sp_file_print(*parent); -- cgit v1.2.3