From 385fffff9b64cadf0617272cfa7463cf0958133f Mon Sep 17 00:00:00 2001 From: Iktwo Sh Date: Tue, 23 Sep 2014 22:11:40 -0700 Subject: [PATCH] If opening update dialog, close keyboard --- qml/main.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qml/main.qml b/qml/main.qml index d3e1120..bb6c5a2 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -196,8 +196,10 @@ ApplicationWindow { UpdateChecker { id: updateChecker onLatestVersionChanged: { - if (latestVersion > version && updateChecker.skippedVersion !== latestVersion) + if (latestVersion > version && updateChecker.skippedVersion !== latestVersion) { + Qt.inputMethod.hide() updateDialog.open() + } } } @@ -224,6 +226,7 @@ ApplicationWindow { if (font.status === FontLoader.Ready) Theme.fontFamily = font.name + updateChecker.checkForUpdateOnGooglePlay() } }