if (!rp) return;
en = rp->entry_data;
- if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
- (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_EDITABLE))
- return;
+ if (!en) return;
if ((!en->block_handler_top) && (!en->block_handler_btm) &&
(en->rp->part->select_mode == EDJE_ENTRY_SELECTION_MODE_BLOCK_HANDLE))
if (en->block_handler_btm)
edje_object_signal_emit(en->block_handler_btm, "edje,focus,in", "edje");
+ if ((rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
+ (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_EDITABLE))
+ return;
+
#ifdef HAVE_ECORE_IMF
if (!en->imf_context) return;