Add Engine Version Update Mode button to Project Manager Quick Settings

This commit is contained in:
Jayden Sipe
2025-04-08 17:06:26 -04:00
parent 4248411baf
commit 387ec5eef7
3 changed files with 44 additions and 6 deletions

View File

@@ -250,12 +250,7 @@ void EngineUpdateLabel::_notification(int p_what) {
}
if (_can_check_updates()) {
if (!checked_update) {
_check_update();
} else {
// This will be wrong when user toggles online mode twice when update is available, but it's not worth handling.
_set_status(UpdateStatus::UP_TO_DATE);
}
_check_update();
} else {
_set_status(UpdateStatus::OFFLINE);
}