Elemenatry: Fixed an issue with elm_scrolled_entry_cursor_end_set not showing the correct region.

SVN revision: 56278
This commit is contained in:
Tom Hacohen 2011-01-24 03:01:36 +00:00
parent cc49bde155
commit 17d8af43e7
1 changed files with 2 additions and 2 deletions

View File

@ -1008,10 +1008,10 @@ elm_scrolled_entry_cursor_end_set(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Coord x, y, w, h;
if (!wd) return;
int x, y, w, h;
elm_scroller_region_get(wd->scroller, &x, &y, &w, &h);
elm_entry_cursor_end_set(wd->entry);
elm_entry_cursor_geometry_get(wd->entry, &x, &y, &w, &h);
elm_scroller_region_show(wd->scroller, x, y, w, h);
}