File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,7 @@ namespace RTEGUI {
294
294
for (GUIControl *control : *collectionBox->GetChildren ()) {
295
295
if (control->GetID () != " COLLECTIONBOX" ) { m_ControlsInCollectionBoxList->AddItem (control->GetName ()); }
296
296
// Check if this is selected in the editor, and if so, select it in the list too
297
- // if (collectionBox == s_SelectionInfo.GetControl()) { m_ControlsInCollectionBoxList->SetSelectedIndex(m_CollectionBoxList->GetItemList()->size() - 1); }
298
- if (collectionBox == s_SelectionInfo.GetControl ()) {
299
- m_ControlsInCollectionBoxList->SetSelectedIndex (-1 );
300
- break ;
301
- }
297
+ if (collectionBox == s_SelectionInfo.GetControl ()) { m_ControlsInCollectionBoxList->SetSelectedIndex (-1 ); }
302
298
}
303
299
}
304
300
You can’t perform that action at this time.
0 commit comments