mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 10:06:44 +00:00
wait for release notes check and then open externally
This commit is contained in:
@ -261,6 +261,9 @@ Item {
|
||||
winMain.tlsBarState="notOK"
|
||||
}
|
||||
|
||||
onOpenReleaseNotesExternally: {
|
||||
Qt.openUrlExternally(go.updateReleaseNotesLink)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -304,12 +307,14 @@ Item {
|
||||
}
|
||||
|
||||
function openReleaseNotes(){
|
||||
if go.updateReleaseNotesLink == "" {
|
||||
go.checkForUpdates()
|
||||
if (go.updateReleaseNotesLink == "") {
|
||||
go.checkAndOpenReleaseNotes()
|
||||
return
|
||||
}
|
||||
Qt.openUrlExternally(go.updateReleaseNotesLink)
|
||||
go.openReleaseNotesExternally()
|
||||
}
|
||||
|
||||
|
||||
// On start
|
||||
Component.onCompleted : {
|
||||
// set messages for translations
|
||||
|
||||
Reference in New Issue
Block a user