rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=a19216b0336d7d8be1bc74b4234696205ee7f2be

commit a19216b0336d7d8be1bc74b4234696205ee7f2be
Author: Vitalii Vorobiov <[email protected]>
Date:   Fri Jul 15 15:43:27 2016 +0300

    property_group: sigsev quick fix with tone and sample programs
    
    @fix
---
 src/bin/ui/property/property_group.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index df1d080..7779a39 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -1161,7 +1161,7 @@ _sample_combobox_fill(Evas_Object *combo, const char 
*selected, Eina_Bool with_n
 
    itc = evas_object_data_get(combo, "COMMON_ITC");
 
-   if (strcmp(selected, ""))
+   if (!selected || strcmp(selected, ""))
      elm_object_text_set(combo, selected);
    else
      elm_object_text_set(combo, STR_NONE);
@@ -1200,7 +1200,7 @@ _tone_combobox_fill(Evas_Object *combo, const char 
*selected, Eina_Bool with_non
 
    itc = evas_object_data_get(combo, "COMMON_ITC");
 
-   if (strcmp(selected, ""))
+   if (!selected || strcmp(selected, ""))
      elm_object_text_set(combo, selected);
    else
      elm_object_text_set(combo, STR_NONE);

-- 


Reply via email to