summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-editor.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2010-07-26 22:17:25 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2010-07-26 22:17:25 +0000
commit8a48268e3fd41be6b708d0a6b5a0c9cdf7ecc226 (patch)
treed703482d78920c54d2ad640e736810cee7448aeb /src/ui/dialog/livepatheffect-editor.cpp
parentWhile rotating, don't try snapping points coincident with the rotation center (diff)
downloadinkscape-8a48268e3fd41be6b708d0a6b5a0c9cdf7ecc226.tar.gz
inkscape-8a48268e3fd41be6b708d0a6b5a0c9cdf7ecc226.zip
fix crash bug 607557
Fixed bugs: - https://launchpad.net/bugs/607557 (bzr r9653)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
-rw-r--r--src/ui/dialog/livepatheffect-editor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp
index 62ed4e639..fb24d8e72 100644
--- a/src/ui/dialog/livepatheffect-editor.cpp
+++ b/src/ui/dialog/livepatheffect-editor.cpp
@@ -299,6 +299,10 @@ LivePathEffectEditor::effect_list_reload(SPLPEItem *lpeitem)
PathEffectList::iterator it;
for( it = effectlist.begin() ; it!=effectlist.end(); it++ )
{
+ if ( !(*it)->lpeobject ) {
+ continue;
+ }
+
if ((*it)->lpeobject->get_lpe()) {
Gtk::TreeModel::Row row = *(effectlist_store->append());
row[columns.col_name] = (*it)->lpeobject->get_lpe()->getName();