mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-11 22:49:55 +00:00
debugger: exit loop deletion loop properly if m_item_count is 0
This commit is contained in:
@@ -489,6 +489,7 @@ void debugger_list::resizeEvent(QResizeEvent* event)
|
||||
for (u32 i = old_size - 1; i >= m_item_count; --i)
|
||||
{
|
||||
delete takeItem(i);
|
||||
if (i == 0) break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user