Code

fix crash bug 607557
authorJohan Engelen <goejendaagh@zonnet.nl>
Mon, 26 Jul 2010 22:17:25 +0000 (00:17 +0200)
committerJohan Engelen <goejendaagh@zonnet.nl>
Mon, 26 Jul 2010 22:17:25 +0000 (00:17 +0200)
src/ui/dialog/livepatheffect-editor.cpp

index 62ed4e63996da17a5bd47a436754afae036f4a28..fb24d8e72bf0ca41840eed384c262af18173bbc2 100644 (file)
@@ -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();