Debugger: Correct check of pending list item.

Since updating is async now, setting the check state should be too.
This commit is contained in:
Unknown W. Brackets committed 2022-12-31 09:58:24 -08:00
1 parent d65c7fb05e
commit bfc659ab5f
3 files changed
+32 -11

No files matched your search

+2 -1
View File
@@ -307,7 +307,6 @@ void CtrlBreakpointList::reloadBreakpoints()
// Update the items we're displaying from the debugger.
displayedBreakPoints_ = CBreakPoints::GetBreakpoints();
displayedMemChecks_= CBreakPoints::GetMemChecks();
Update();
for (int i = 0; i < GetRowCount(); i++)
{
@@ -321,6 +320,8 @@ void CtrlBreakpointList::reloadBreakpoints()
else
SetCheckState(i, displayedBreakPoints_[index].IsEnabled());
}
Update();
}
void CtrlBreakpointList::editBreakpoint(int itemIndex)