summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_diskselector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index e1dcfd306..1b0968615 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -961,6 +961,8 @@ _icon_duplicate(Evas_Object *icon)
961 const char *file; 961 const char *file;
962 const char *group; 962 const char *group;
963 963
964 if (!icon) return NULL;
965
964 elm_image_file_get(icon, &file, &group); 966 elm_image_file_get(icon, &file, &group);
965 ic = elm_icon_add(icon); 967 ic = elm_icon_add(icon);
966 elm_image_file_set(ic, file, group); 968 elm_image_file_set(ic, file, group);