Add Engine Version Update Mode button to Project Manager Quick Settings
This commit is contained in:
parent
4248411baf
commit
387ec5eef7
3 changed files with 44 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue