on xenial help sign in
changing property name
commit919c5a4e8c810ae16f9d0e41e96f84f7b1b5d299 authorDiego Sarmentero <diego.sarmentero@gmail.com> dateThu 7 Aug 2014, 16:43 (12 years ago) parent8a798c0
1 file changed+6−6
qml/Dash/Previews/PreviewPayments.qml+6−6
qml/Dash/Previews/PreviewPayments.qml+6−6
@@ -31,7 +31,7 @@ PreviewWidget {
3131 implicitHeight: paymentButton.implicitHeight
3232 implicitWidth: paymentButton.implicitWidth
3333
34− property bool active: false
34+ property bool processActive: false
3535
3636 Button {
3737 id: paymentButton
@@ -40,7 +40,7 @@ PreviewWidget {
4040 color: Theme.palette.selected.foreground
4141 text: root.active ? i18n.tr("Purchasing…") : paymentClient.formattedPrice
4242 onClicked: {
43− root.active = true;
43+ root.processActive = true;
4444 root.processing(root.active);
4545 paymentClient.start();
4646 }
@@ -56,13 +56,13 @@ PreviewWidget {
5656 currency: source["currency"]
5757 storeItemId: source["store_item_id"]
5858 onPurchaseCompleted: {
59− root.active = false;
60− root.processing(root.active);
59+ root.processActive = false;
60+ root.processing(root.processActive);
6161 root.triggered(widgetId, "purchaseCompleted", source);
6262 }
6363 onPurchaseError: {
64− root.active = false;
65− root.processing(root.active);
64+ root.processActive = false;
65+ root.processing(root.processActive);
6666 root.triggered(widgetId, "purchaseError", source);
6767 }
6868 }