Skip to content

Commit

Permalink
Fix update notification not opening browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Alia5 committed Oct 5, 2022
1 parent d2fd3a7 commit eacd05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GlosSIConfig/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ Window {
titleText: qsTr("New version available!")
text: uiModel.newVersionName + "\n\n" + qsTr("Would you like to visit the download page now?")
onConfirmed: function (callback) {
Qt.openUrlExternally(`https://glossi.flatspot.pictures/#downloads${ uiModel.newVersionName.includes('snapshot') ? '-snapshots' : '' }-${uiModel.newVersionName}`);
callback();
Qt.openUrlExternally(`https://glossi.flatspot.pictures/#downloads-${uiModel.newVersionName}`);
}
buttonText: qsTr("Yes")
extraButton: true
Expand Down

0 comments on commit eacd05b

Please sign in to comment.