Skip to content

Commit

Permalink
If opening update dialog, close keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Sep 24, 2014
1 parent f67a298 commit 385ffff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}

Expand All @@ -224,6 +226,7 @@ ApplicationWindow {

if (font.status === FontLoader.Ready)
Theme.fontFamily = font.name

updateChecker.checkForUpdateOnGooglePlay()
}
}

0 comments on commit 385ffff

Please sign in to comment.