mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
(svn r22118) -Fix [FS#4525]: The refit window was not correctly updated after selecting with Ctrl+Click (Regiovogel).
This commit is contained in:
parent
bd9610ec3c
commit
dcd158b03e
@ -795,7 +795,12 @@ struct RefitWindow : public Window {
|
||||
this->click_x = GetClickPosition(pt.x - nwi->pos_x);
|
||||
this->SetSelectedVehicles(pt.x - nwi->pos_x);
|
||||
this->SetWidgetDirty(VRW_VEHICLE_PANEL_DISPLAY);
|
||||
if (!_ctrl_pressed) SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
|
||||
if (!_ctrl_pressed) {
|
||||
SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
|
||||
} else {
|
||||
/* The vehicle selection has changed. */
|
||||
this->InvalidateData(2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user