[Spinner] Fix for atspi inc/dec btn bug 17/72817/2
authorPrasoon Singh <prasoon.16@samsung.com>
Thu, 2 Jun 2016 12:11:13 +0000 (17:41 +0530)
committerPrasoon Singh <prasoon.16@samsung.com>
Fri, 3 Jun 2016 06:29:54 +0000 (11:59 +0530)
Change-Id: Ifa1e994a6359c1a1ef1f084adada48cccdebd1fa

src/lib/elm_spinner.c

index eccb0a4..37446ba 100644 (file)
@@ -901,6 +901,10 @@ _inc_dec_button_clicked_cb(void *data,
 {
    ELM_SPINNER_DATA_GET(data, sd);
 
+   //TIZEN_ONLY(20160602): fix for atspi inc/dec bug
+   sd->inc_clicked = sd->inc_button == obj ? EINA_TRUE : EINA_FALSE;
+   //
+
    _spin_stop(data);
    sd->spin_speed = sd->inc_clicked ? sd->step : -sd->step;
    _spin_value(data);