mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
Fix search crash
This commit is contained in:
@@ -82,8 +82,10 @@ void SearchView::NotifySaveListChanged(SearchModel * sender)
|
||||
for(i = 0; i < saveButtons.size(); i++)
|
||||
{
|
||||
RemoveComponent(saveButtons[i]);
|
||||
|
||||
delete saveButtons[i];
|
||||
}
|
||||
saveButtons.clear();
|
||||
for(i = 0; i < saves.size(); i++)
|
||||
{
|
||||
if(saveX == savesX)
|
||||
|
Reference in New Issue
Block a user