diff options
Diffstat (limited to 'lib/egg/egg-toolbars-model.c')
-rwxr-xr-x | lib/egg/egg-toolbars-model.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c index 51ada3703..3162c304a 100755 --- a/lib/egg/egg-toolbars-model.c +++ b/lib/egg/egg-toolbars-model.c @@ -872,8 +872,10 @@ egg_toolbars_model_delete_item (EggToolbarsModel *model, item = g_node_first_child (toolbar); ipos = 0; + /* Don't delete toolbars that were already empty */ if (item == NULL) { + toolbar = g_node_next_sibling (toolbar); continue; } |