From d9a074dce0f9f0fe7c6618a6e8bbf85ffe0f50e7 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 2 Jun 2019 00:21:49 +0200 Subject: [PATCH] several debugger buttons repeat --- src/debugger/gui/DebuggerDialog.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/debugger/gui/DebuggerDialog.cxx b/src/debugger/gui/DebuggerDialog.cxx index 0edb5f9b4..0981224bb 100644 --- a/src/debugger/gui/DebuggerDialog.cxx +++ b/src/debugger/gui/DebuggerDialog.cxx @@ -550,19 +550,19 @@ void DebuggerDialog::addRomArea() int buttonX = r.right - bwidth - 5, buttonY = r.top + 5; b = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, "Step", kDDStepCmd); + bwidth, bheight, "Step", kDDStepCmd, true); wid2.push_back(b); buttonY += bheight + 4; b = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, "Trace", kDDTraceCmd); + bwidth, bheight, "Trace", kDDTraceCmd, true); wid2.push_back(b); buttonY += bheight + 4; b = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, "Scan +1", kDDSAdvCmd); + bwidth, bheight, "Scan +1", kDDSAdvCmd, true); wid2.push_back(b); buttonY += bheight + 4; b = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, "Frame +1", kDDAdvCmd); + bwidth, bheight, "Frame +1", kDDAdvCmd, true); wid2.push_back(b); buttonY += bheight + 4; b = new ButtonWidget(this, *myLFont, buttonX, buttonY, @@ -576,7 +576,7 @@ void DebuggerDialog::addRomArea() myRewindButton = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, LEFT_ARROW, 7, 11, kDDRewindCmd); + bwidth, bheight, LEFT_ARROW, 7, 11, kDDRewindCmd, true); myRewindButton->clearFlags(Widget::FLAG_ENABLED); buttonY += bheight + 4; @@ -584,7 +584,7 @@ void DebuggerDialog::addRomArea() myUnwindButton = new ButtonWidget(this, *myLFont, buttonX, buttonY, - bwidth, bheight, RIGHT_ARROW, 7, 11, kDDUnwindCmd); + bwidth, bheight, RIGHT_ARROW, 7, 11, kDDUnwindCmd, true); myUnwindButton->clearFlags(Widget::FLAG_ENABLED); int xpos = buttonX - 8*myLFont->getMaxCharWidth() - 20, ypos = 30;