mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 18:16:43 +00:00
wait for release notes check and then open externally
This commit is contained in:
@ -292,6 +292,12 @@ Item {
|
||||
onUpdateFinished : {
|
||||
winMain.dialogUpdate.finished(hasError)
|
||||
}
|
||||
|
||||
onOpenReleaseNotesExternally: {
|
||||
Qt.openUrlExternally(go.updateReleaseNotesLink)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
function folderIcon(folderName, folderType) { // translations
|
||||
@ -406,10 +412,11 @@ Item {
|
||||
*/
|
||||
|
||||
function openReleaseNotes(){
|
||||
if go.updateReleaseNotesLink == "" {
|
||||
go.checkForUpdates()
|
||||
if (go.updateReleaseNotesLink == "") {
|
||||
go.checkAndOpenReleaseNotes()
|
||||
return
|
||||
}
|
||||
Qt.openUrlExternally(go.updateReleaseNotesLink)
|
||||
go.openReleaseNotesExternally()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user