Changeset - r23986:a93b2e3e6441
[Not reviewed]
master
0 1 0
stormcone - 5 years ago 2019-05-10 17:33:59
48624099+stormcone@users.noreply.github.com
Feature: Control + click on a vehicle in the vehicle group window selects and scrolls to the vehicle's group.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/group_gui.cpp
Show inline comments
 
@@ -734,6 +734,10 @@ public:
 

	
 
				this->vehicle_sel = v->index;
 

	
 
				if (_ctrl_pressed) {
 
					this->SelectGroup(v->group_id);
 
				}
 

	
 
				SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
 
				SetMouseCursorVehicle(v, EIT_IN_LIST);
 
				_cursor.vehchain = true;
0 comments (0 inline, 0 general)