diff options
| author | gustav_b <gustav_b@users.sourceforge.net> | 2006-12-31 01:00:36 +0000 |
|---|---|---|
| committer | gustav_b <gustav_b@users.sourceforge.net> | 2006-12-31 01:00:36 +0000 |
| commit | a5389994ed2d8ffa9be1c48786c3f98e0566a3b1 (patch) | |
| tree | f5a6ddcce82d4de54228250985076d56e218bbc5 /src/dialogs/stroke-style.cpp | |
| parent | Fix 1565162 (Gradient stop color not updated in list when entering RBGA) (diff) | |
| download | inkscape-a5389994ed2d8ffa9be1c48786c3f98e0566a3b1.tar.gz inkscape-a5389994ed2d8ffa9be1c48786c3f98e0566a3b1.zip | |
Fix 1516933 (text stroke crash inkscape)
(bzr r2112)
Diffstat (limited to 'src/dialogs/stroke-style.cpp')
| -rw-r--r-- | src/dialogs/stroke-style.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialogs/stroke-style.cpp b/src/dialogs/stroke-style.cpp index 152569a5a..ebfb7aca6 100644 --- a/src/dialogs/stroke-style.cpp +++ b/src/dialogs/stroke-style.cpp @@ -1440,6 +1440,9 @@ sp_stroke_style_line_update(SPWidget *spw, Inkscape::Selection *sel) g_free (query); + if (!sel || sel->isEmpty()) + return; + GSList const *objects = sel->itemList(); SPObject * const object = SP_OBJECT(objects->data); SPStyle * const style = SP_OBJECT_STYLE(object); |
