Merge remote-tracking branch 'upstream/master'

This commit is contained in:
dP
2023-06-10 18:12:04 +04:00
89 changed files with 2143 additions and 931 deletions

View File

@@ -463,7 +463,7 @@ public:
if (!(IsAllGroupID(this->vli.index) || IsDefaultGroupID(this->vli.index) || Group::IsValidID(this->vli.index))) {
this->vli.index = ALL_GROUP;
HideDropDownMenu(this);
this->CloseChildWindows(WC_DROPDOWN_MENU);
}
this->SetDirty();
}
@@ -514,7 +514,7 @@ public:
/* The drop down menu is out, *but* it may not be used, retract it. */
if (this->vehicles.size() == 0 && this->IsWidgetLowered(WID_GL_MANAGE_VEHICLES_DROPDOWN)) {
this->RaiseWidget(WID_GL_MANAGE_VEHICLES_DROPDOWN);
HideDropDownMenu(this);
this->CloseChildWindows(WC_DROPDOWN_MENU);
}
/* Disable all lists management button when the list is empty */