Fix QSGTextEdit::closeSoftwareInputPanel()
authorJoona Petrell <joona.t.petrell@nokia.com>
Thu, 22 Sep 2011 14:45:22 +0000 (17:45 +0300)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Sep 2011 09:27:31 +0000 (11:27 +0200)
Change-Id: If50486b3159a9e40b2808a2a18aff5668012ea76
Reviewed-on: http://codereview.qt-project.org/5400
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Pekka Vuorela <pekka.ta.vuorela@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/declarative/items/qsgtextedit.cpp

index af018ae..5c33a62 100644 (file)
@@ -1966,7 +1966,7 @@ void QSGTextEdit::openSoftwareInputPanel()
 void QSGTextEdit::closeSoftwareInputPanel()
 {  
     if (qGuiApp)
-        qGuiApp->inputPanel()->show();
+        qGuiApp->inputPanel()->hide();
 }
 
 void QSGTextEdit::focusInEvent(QFocusEvent *event)