Blackberry: Reset virtual keyboard when shown.
The keyboard mode is shared between applications. You can reproduce this bug by clicking on a spin box, it will open a number only keyboard, then close the application and run an application that shows a text edit: a number only keyboard will appear. PPS keyboard already does this. Change-Id: Ia22e96ce13ad0cec1fd3b43fcdf4d03abfc25134 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
dde9569d38
commit
019f9158e6
@ -86,6 +86,11 @@ bool QQnxVirtualKeyboardBps::handleEvent(bps_event_t *event)
|
||||
bool QQnxVirtualKeyboardBps::showKeyboard()
|
||||
{
|
||||
qVirtualKeyboardDebug() << Q_FUNC_INFO << "current visibility=" << isVisible();
|
||||
|
||||
// They keyboard's mode is global between applications, we have to set it each time
|
||||
if ( !isVisible() )
|
||||
applyKeyboardMode(keyboardMode());
|
||||
|
||||
virtualkeyboard_show();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user