mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 13:23:06 +02:00
I forgot to clear dot immediately
This commit is contained in:
parent
ab6aeae91a
commit
75ba1cb3c7
2 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,9 @@ Rectangle {
|
|||
console.log("Failed to get Available Updates", result.data.message);
|
||||
} else {
|
||||
exchangeMoneyButtonContainer.messagesWaiting = result.data.updates.length > 0;
|
||||
if (!exchangeMoneyButtonContainer.messagesWaiting) {
|
||||
sendToScript({method: 'clearShouldShowDotUpdates'});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -536,6 +536,10 @@ function fromQml(message) {
|
|||
shouldShowDotHistory = false;
|
||||
ui.messagesWaiting(shouldShowDotUpdates || shouldShowDotHistory);
|
||||
break;
|
||||
case 'clearShouldShowDotUpdates':
|
||||
shouldShowDotUpdates = false;
|
||||
ui.messagesWaiting(shouldShowDotUpdates || shouldShowDotHistory);
|
||||
break;
|
||||
case 'http.request':
|
||||
// Handled elsewhere, don't log.
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue