summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/new-from-template.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-01-15 15:26:12 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-01-15 15:26:12 +0000
commit9d40e9669a1024b7caed1db4c5ff99e06c96a57f (patch)
tree05eb314bfa8cf9c0044d8c21044de2bb4c9c7412 /src/ui/dialog/new-from-template.cpp
parentdrop useless checks for hard Cairo version dependency (diff)
downloadinkscape-9d40e9669a1024b7caed1db4c5ff99e06c96a57f.tar.gz
inkscape-9d40e9669a1024b7caed1db4c5ff99e06c96a57f.zip
Fix for Bug #1236282 (add full keyboard navigation support for new templates dialog).
Fixed bugs: - https://launchpad.net/bugs/1236282 (bzr r12934)
Diffstat (limited to 'src/ui/dialog/new-from-template.cpp')
-rw-r--r--src/ui/dialog/new-from-template.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/dialog/new-from-template.cpp b/src/ui/dialog/new-from-template.cpp
index 177f15195..71d1c22d0 100644
--- a/src/ui/dialog/new-from-template.cpp
+++ b/src/ui/dialog/new-from-template.cpp
@@ -44,10 +44,13 @@ NewFromTemplate::NewFromTemplate()
void NewFromTemplate::_createFromTemplate()
{
_main_widget.createTemplate();
-
- response(0);
+ _onClose();
}
+void NewFromTemplate::_onClose()
+{
+ response(0);
+}
void NewFromTemplate::load_new_from_template()
{