From f8051582a05ffc8409da781bca7018c349261888 Mon Sep 17 00:00:00 2001 From: Nukem Date: Wed, 11 Nov 2015 17:13:11 -0500 Subject: [PATCH] GUI: Don't select a row in the infobox until the user does manually --- src/gui/Src/Gui/CPUInfoBox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/Src/Gui/CPUInfoBox.cpp b/src/gui/Src/Gui/CPUInfoBox.cpp index e9edd77b..4e8dc28d 100644 --- a/src/gui/Src/Gui/CPUInfoBox.cpp +++ b/src/gui/Src/Gui/CPUInfoBox.cpp @@ -21,6 +21,9 @@ CPUInfoBox::CPUInfoBox(StdTable* parent) : StdTable(parent) connect(Bridge::getBridge(), SIGNAL(dbgStateChanged(DBGSTATE)), this, SLOT(dbgStateChanged(DBGSTATE))); connect(this, SIGNAL(contextMenuSignal(QPoint)), this, SLOT(contextMenuSlot(QPoint))); curAddr = 0; + + // Deselect any row (visual reasons only) + setSingleSelection(-1); } int CPUInfoBox::getHeight() @@ -45,6 +48,7 @@ QString CPUInfoBox::getInfoLine(int line) void CPUInfoBox::clear() { + // Set all 3 lines to empty strings setInfoLine(0, ""); setInfoLine(1, ""); setInfoLine(2, "");