summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elc_fileselector_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elc_fileselector_button.c b/src/lib/elc_fileselector_button.c
index fb64c68de..b62b684cb 100644
--- a/src/lib/elc_fileselector_button.c
+++ b/src/lib/elc_fileselector_button.c
@@ -103,7 +103,7 @@ _new_window_add(Elm_Fileselector_Button_Data *sd)
103static Evas_Object * 103static Evas_Object *
104_parent_win_get(Evas_Object *obj) 104_parent_win_get(Evas_Object *obj)
105{ 105{
106 while (eo_isa(obj, ELM_WIN_CLASS)) 106 while (!eo_isa(obj, ELM_WIN_CLASS))
107 obj = elm_object_parent_widget_get(obj); 107 obj = elm_object_parent_widget_get(obj);
108 108
109 return obj; 109 return obj;