diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2014-01-15 15:26:12 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2014-01-15 15:26:12 +0000 |
| commit | 9d40e9669a1024b7caed1db4c5ff99e06c96a57f (patch) | |
| tree | 05eb314bfa8cf9c0044d8c21044de2bb4c9c7412 /src/ui/dialog/new-from-template.cpp | |
| parent | drop useless checks for hard Cairo version dependency (diff) | |
| download | inkscape-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.cpp | 7 |
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() { |
