summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index f8f3fb36a..f30748cec 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -57,7 +57,7 @@ _items_visibility_fix(Elm_Toolbar_Smart_Data *sd,
57 if (it->separator) 57 if (it->separator)
58 { 58 {
59 prev = ELM_TOOLBAR_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev); 59 prev = ELM_TOOLBAR_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev);
60 it->prio.priority = prev->prio.priority; 60 if (prev) it->prio.priority = prev->prio.priority;
61 } 61 }
62 } 62 }
63 63