forked from mirror/OpenTTD
Fix #7974: Crash when CTRL+click to show a vehicle group that is collapsed
This commit is contained in:
committed by
Charles Pigott
parent
805ecd32be
commit
492d2704f1
@@ -1017,6 +1017,7 @@ public:
|
||||
}
|
||||
this->groups.ForceRebuild();
|
||||
this->BuildGroupList(this->owner);
|
||||
this->group_sb->SetCount((uint)this->groups.size());
|
||||
id_g = find_index(this->groups, g);
|
||||
}
|
||||
this->group_sb->ScrollTowards(id_g);
|
||||
|
Reference in New Issue
Block a user