mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 01:22:21 +02:00
Fix buying free items using Commerce system
This commit is contained in:
parent
cfc4696585
commit
fcafbef109
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ Rectangle {
|
|||
property string itemHref;
|
||||
property double balanceAfterPurchase;
|
||||
property bool alreadyOwned: false;
|
||||
property int itemPrice;
|
||||
property int itemPrice: -1;
|
||||
property bool itemIsJson: true;
|
||||
property bool shouldBuyWithControlledFailure: false;
|
||||
property bool debugCheckoutSuccess: false;
|
||||
|
@ -339,7 +339,7 @@ Rectangle {
|
|||
}
|
||||
FiraSansSemiBold {
|
||||
id: itemPriceText;
|
||||
text: root.itemPrice;
|
||||
text: (root.itemPrice === -1) ? "--" : root.itemPrice;
|
||||
// Text size
|
||||
size: 26;
|
||||
// Anchors
|
||||
|
|
Loading…
Reference in a new issue