Code

fix for crash bug 607557
authorJosh Andler <scislac@gmail.com>
Mon, 26 Jul 2010 22:27:20 +0000 (15:27 -0700)
committerJosh Andler <scislac@gmail.com>
Mon, 26 Jul 2010 22:27:20 +0000 (15:27 -0700)
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();