radios - if none is selected... the one u select gets selected. :)
authorCarsten Haitzler <raster@rasterman.com>
Sun, 16 Dec 2012 14:06:10 +0000 (14:06 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sun, 16 Dec 2012 14:06:10 +0000 (14:06 +0000)
SVN revision: 81043

src/bin/e_widget_radio.c

index c405821..1f00269 100644 (file)
@@ -237,8 +237,11 @@ _e_wid_do(Evas_Object *obj)
                     }
                }
           }
-        if (!toggled) return;
         wd = e_widget_data_get(obj);
+        if (!toggled)
+          {
+             if (wd->valnum == *(wd->group->valptr)) return;
+          }
         *(wd->group->valptr) = wd->valnum;
         edje_object_signal_emit(wd->o_radio, "e,state,on", "e");
      }