mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-05 20:55:59 +00:00
CPoiMapSidebar: Make use of push_back over operator<<
This commit is contained in:
parent
cc668e514b
commit
c4bf754722
@ -191,17 +191,17 @@ void CPoiMapSidebar::UpdateModelHighlights()
|
||||
{
|
||||
case EHighlightMode::HighlightSelected:
|
||||
if (kSelection.contains(Index))
|
||||
SelectedIndices << Index;
|
||||
SelectedIndices.push_back(Index);
|
||||
else
|
||||
UnselectedIndices << Index;
|
||||
UnselectedIndices.push_back(Index);
|
||||
break;
|
||||
|
||||
case EHighlightMode::HighlightAll:
|
||||
SelectedIndices << Index;
|
||||
SelectedIndices.push_back(Index);
|
||||
break;
|
||||
|
||||
case EHighlightMode::HighlightNone:
|
||||
UnselectedIndices << Index;
|
||||
UnselectedIndices.push_back(Index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user