[BlackBerry] Input processing mode should be cancelled when processing hot keys
[WebKit-https.git] / Source / WebKit / blackberry / WebCoreSupport / EditorClientBlackBerry.cpp
index ff92bd91b4c8726fa1b7bab6ba29e58df9b4f4aa..c1002361de32f4e30b6c43367c9d51de14aa36c9 100644 (file)
@@ -464,6 +464,8 @@ void EditorClientBlackBerry::handleKeyboardEvent(KeyboardEvent* event)
     String commandName = interpretKeyEvent(event);
 
     if (!commandName.isEmpty()) {
+        // Hot key handling. Cancel processing mode.
+        m_webPagePrivate->m_inputHandler->setProcessingChange(false);
         if (frame->editor()->command(commandName).execute())
             event->setDefaultHandled();
         return;