Fixes for checkboxes in tree views and table views. Fixes for breakpoints enable/disable.

This commit is contained in:
Martín Lucas Golini
2025-01-25 02:09:29 -03:00
parent 3cdfc849a8
commit b300c9d48b
9 changed files with 98 additions and 44 deletions

View File

@@ -1458,6 +1458,9 @@ bool DebuggerPlugin::setBreakpoint( UICodeEditor* editor, Uint32 lineNumber ) {
bool DebuggerPlugin::breakpointSetEnabled( const std::string& doc, Uint32 lineNumber,
bool enabled ) {
if ( mChangingBreakpoint )
return false;
BoolScopedOp changing( mChangingBreakpoint, true );
Lock l( mBreakpointsMutex );
auto& breakpoints = mBreakpoints[doc];
SourceBreakpointStateful sb( lineNumber );