Default new breakpoints to be enabled in dialog.
This commit is contained in:
parent
8d7f2032fc
commit
d04d08d2e9
|
@ -1807,6 +1807,9 @@ void ConsoleDebugger::openBpEditWindow( int editIdx, watchpointinfo *wp, bool fo
|
||||||
{
|
{
|
||||||
if ( editIdx < 0 )
|
if ( editIdx < 0 )
|
||||||
{
|
{
|
||||||
|
// If new breakpoint, default enable checkbox to true
|
||||||
|
ebp->setChecked(true);
|
||||||
|
|
||||||
// If new breakpoint, suggest condition if in ROM Mapping area of memory.
|
// If new breakpoint, suggest condition if in ROM Mapping area of memory.
|
||||||
if ( wp->address >= 0x8000 )
|
if ( wp->address >= 0x8000 )
|
||||||
{
|
{
|
||||||
|
@ -1834,6 +1837,11 @@ void ConsoleDebugger::openBpEditWindow( int editIdx, watchpointinfo *wp, bool fo
|
||||||
name->setText( tr(wp->desc) );
|
name->setText( tr(wp->desc) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// If new breakpoint, default enable checkbox to true
|
||||||
|
ebp->setChecked(true);
|
||||||
|
}
|
||||||
|
|
||||||
dialog.setLayout( mainLayout );
|
dialog.setLayout( mainLayout );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue