diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-01-10 03:38:38 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-01-10 03:38:38 +0000 |
| commit | 317ffb463ad8b54139e8c67381306db52f28f3bd (patch) | |
| tree | 9fa790d823267e6aa99140eeb105761ba63861f9 /src | |
| parent | Change Sans to sans-serif on suv's advice in bug #1230241 (diff) | |
| download | inkscape-317ffb463ad8b54139e8c67381306db52f28f3bd.tar.gz inkscape-317ffb463ad8b54139e8c67381306db52f28f3bd.zip | |
Give the selection id a default just in case every selected item has no id. Fixes crash in bug #1257417
Fixed bugs:
- https://launchpad.net/bugs/1257417
(bzr r12910)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp index e896b9840..340a3dad0 100644 --- a/src/ui/dialog/export.cpp +++ b/src/ui/dialog/export.cpp @@ -813,7 +813,7 @@ void Export::onAreaToggled () /* If we still don't have a filename -- let's build one that's nice */ if (filename.empty()) { - const gchar * id = NULL; + const gchar * id = "object"; const GSList * reprlst = sp_desktop_selection(SP_ACTIVE_DESKTOP)->reprList(); for(; reprlst != NULL; reprlst = reprlst->next) { Inkscape::XML::Node * repr = (Inkscape::XML::Node *)reprlst->data; |
