summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2010-07-26 22:27:20 +0000
committerJosh Andler <scislac@gmail.com>2010-07-26 22:27:20 +0000
commitc64bbd204f32dfe3505c5c936caa9c32da38ff42 (patch)
treea4f243d340e9aac52e9bd0c94fd5333c9084ecbb /src
parentAdded preference to suppress auto-refresh of icon previews. (diff)
downloadinkscape-c64bbd204f32dfe3505c5c936caa9c32da38ff42.tar.gz
inkscape-c64bbd204f32dfe3505c5c936caa9c32da38ff42.zip
fix for crash bug 607557
(bzr r9606.1.27)
Diffstat (limited to 'src')
-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();