mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-30 09:30:35 +02:00
Quick polish fix to prevent UI flashing
This commit is contained in:
parent
dff7804cdc
commit
f407042f3e
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,8 @@ Rectangle {
|
||||||
property int numUpdatesAvailable: 0;
|
property int numUpdatesAvailable: 0;
|
||||||
// Style
|
// Style
|
||||||
color: hifi.colors.white;
|
color: hifi.colors.white;
|
||||||
function getPurchases() {
|
function
|
||||||
|
() {
|
||||||
root.activeView = "purchasesMain";
|
root.activeView = "purchasesMain";
|
||||||
root.installedApps = Commerce.getInstalledApps();
|
root.installedApps = Commerce.getInstalledApps();
|
||||||
purchasesModel.getFirstPage();
|
purchasesModel.getFirstPage();
|
||||||
|
@ -669,6 +670,7 @@ Rectangle {
|
||||||
lightboxPopup.titleText = '"' + msg.itemName + '" Sent to Trash';
|
lightboxPopup.titleText = '"' + msg.itemName + '" Sent to Trash';
|
||||||
lightboxPopup.button1text = "OK";
|
lightboxPopup.button1text = "OK";
|
||||||
lightboxPopup.button1method = function() {
|
lightboxPopup.button1method = function() {
|
||||||
|
root.purchasesReceived = false;
|
||||||
lightboxPopup.visible = false;
|
lightboxPopup.visible = false;
|
||||||
getPurchases();
|
getPurchases();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue