projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812f8f1
)
[multibuttonentry] P130514-2632: if MBE doesn't have focus, entry of MBE should lose...
author
Bora Hwang
<bora1.hwang@samsung.com>
Wed, 15 May 2013 06:32:23 +0000
(15:32 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:00:23 +0000
(14:00 +0900)
src/lib/elc_multibuttonentry.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_multibuttonentry.c
b/src/lib/elc_multibuttonentry.c
index
22674ee
..
557eb66
100644
(file)
--- a/
src/lib/elc_multibuttonentry.c
+++ b/
src/lib/elc_multibuttonentry.c
@@
-866,6
+866,8
@@
_layout_shrink(Evas_Object *obj,
if (sd->editable)
{
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
evas_object_hide(sd->entry);
}
@@
-960,6
+962,8
@@
_layout_shrink(Evas_Object *obj,
linew += mnw;
if (linew > (w * (2 / 3)))
{
+ if (elm_object_focus_get(sd->entry))
+ elm_object_focus_set(sd->entry, EINA_FALSE);
elm_box_unpack(sd->box, sd->entry);
evas_object_hide(sd->entry);
sd->expanded_state = EINA_FALSE;