list: do not constantly reset scr_min flags
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 25 Feb 2016 21:38:51 +0000 (16:38 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 25 Feb 2016 23:03:18 +0000 (18:03 -0500)
these get set during mode_set and when directly changing the flags.
at no other time should they be changed

@fix

legacy/elementary/src/lib/elm_list.c

index bf928fc..5788c9d 100644 (file)
@@ -1021,7 +1021,6 @@ _items_fix(Evas_Object *obj)
           i++;
      }
 
-   _elm_list_mode_set_internal(obj);
    _elm_list_unwalk(obj, sd);
 
    //focus highlight in_theme is set by list item theme.
@@ -2654,8 +2653,6 @@ _elm_list_horizontal_set(Eo *obj, Elm_List_Data *sd, Eina_Bool horizontal)
         evas_object_size_hint_align_set(sd->box, EVAS_HINT_FILL, 0.0);
         eo_do(obj, elm_interface_scrollable_bounce_allow_set(EINA_FALSE, bounce));
      }
-
-   _elm_list_mode_set_internal(obj);
 }
 
 EOLIAN static Eina_Bool