Don't block back button after keyboard is hidden
The back button would be non-responsive for 5 seconds after hiding the software keyboard. This is a minimal change that does not look into why we need to have a 5 second delay in the first place. Task-number: QTBUG-30752 Change-Id: Ied514b77650cea7accc37a03efef2ce861090f65 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
c56372e379
commit
8d1b8b97ac
@ -704,10 +704,8 @@ public class QtActivityDelegate
|
||||
}
|
||||
}
|
||||
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK && m_keyboardIsVisible)
|
||||
{
|
||||
if (!m_keyboardIsHiding)
|
||||
hideSoftwareKeyboard();
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK && m_keyboardIsVisible && !m_keyboardIsHiding) {
|
||||
hideSoftwareKeyboard();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user