diff --git a/app/qml/dialogs/MMMonthlyContributorsLimitDialog.qml b/app/qml/dialogs/MMMonthlyContributorsLimitDialog.qml index b69bd93ce..9af2baebc 100644 --- a/app/qml/dialogs/MMMonthlyContributorsLimitDialog.qml +++ b/app/qml/dialogs/MMMonthlyContributorsLimitDialog.qml @@ -24,7 +24,7 @@ MMComponents.MMDrawerDialog { description: qsTr( "Upgrade your subscription or wait until next month for the limit to reset." ) - primaryButton.text: apiSupportsSubscription ? qsTr("Manage account") : "" + primaryButton.text: apiSupportsSubscription ? qsTr("Manage account") : qsTr("Upgrade") secondaryButton.text: qsTr("Cancel") onPrimaryButtonClicked: { diff --git a/app/qml/main.qml b/app/qml/main.qml index 4947e881b..b68951576 100644 --- a/app/qml/main.qml +++ b/app/qml/main.qml @@ -720,7 +720,14 @@ ApplicationWindow { apiSupportsSubscription: __merginApi.apiSupportsSubscriptions - onManageAccountClicked: Qt.openUrlExternally(__inputHelp.merginSubscriptionLink) + onManageAccountClicked: function() { + if(__merginApi.apiSupportsSubscriptions) { + Qt.openUrlExternally(__inputHelp.merginSubscriptionLink) + } + else { + Qt.openUrlExternally("https://www.merginmaps.com/pricing") + } + } } MMProjectLimitDialog {