From: Johan Engelen Date: Mon, 26 Jul 2010 22:17:25 +0000 (+0200) Subject: fix crash bug 607557 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cd392fe863cb06ba22f2b54bdb96ef3a6ee6bc5b;p=inkscape.git fix crash bug 607557 --- 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();