Skip to content

Commit

Permalink
Update UI.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-spataru authored Jan 18, 2021
1 parent f1323cc commit ff38b40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/qml/UI.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ Page {
Layout.fillHeight: true
icon.source: "qrc:/icons/update.svg"
text: qsTr("Check for updates") + CppTranslator.dummy
onClicked: CppUpdater.checkForUpdates(CppAppUpdaterUrl)
onClicked: {
CppUpdater.setNotifyOnFinish(CppAppUpdaterUrl, true)
CppUpdater.checkForUpdates(CppAppUpdaterUrl)
}
}
}
}
Expand Down

0 comments on commit ff38b40

Please sign in to comment.