From f407042f3e983670771f2d5fcbd0a2ae815cefc0 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Tue, 18 Dec 2018 17:11:10 -0800 Subject: [PATCH] Quick polish fix to prevent UI flashing --- interface/resources/qml/hifi/commerce/purchases/Purchases.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/resources/qml/hifi/commerce/purchases/Purchases.qml b/interface/resources/qml/hifi/commerce/purchases/Purchases.qml index f50ce0bda3..af61cfa410 100644 --- a/interface/resources/qml/hifi/commerce/purchases/Purchases.qml +++ b/interface/resources/qml/hifi/commerce/purchases/Purchases.qml @@ -39,7 +39,8 @@ Rectangle { property int numUpdatesAvailable: 0; // Style color: hifi.colors.white; - function getPurchases() { + function + () { root.activeView = "purchasesMain"; root.installedApps = Commerce.getInstalledApps(); purchasesModel.getFirstPage(); @@ -669,6 +670,7 @@ Rectangle { lightboxPopup.titleText = '"' + msg.itemName + '" Sent to Trash'; lightboxPopup.button1text = "OK"; lightboxPopup.button1method = function() { + root.purchasesReceived = false; lightboxPopup.visible = false; getPurchases(); }