Remove unneeded call to m_editText.bringToFront()

There is no need to call bringToFront() when the item was just made to
be the last child in the two previous lines. (Child views are ordered
in stacking/paint order)

Change-Id: Ie9fbe5de6dce2bbc96cd44a8a6a779504cd0becd
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
This commit is contained in:
Jan Arve Saether 2014-12-01 13:50:33 +01:00 committed by Jan Arve Sæther
parent 438b65bada
commit 35222edfc8

View File

@ -321,7 +321,6 @@ public class QtActivityDelegate
m_layout.removeView(m_editText);
m_layout.addView(m_editText, new QtLayout.LayoutParams(width, height, x, y));
m_editText.bringToFront();
m_editText.requestFocus();
m_editText.postDelayed(new Runnable() {
@Override