1
0
Fork 0

CPUStack: Freezing the stack no longer incorrectly causes the user to be unable to select a different address. (#1158)

This commit is contained in:
Alexandros Naskos 2016-10-13 15:15:40 +03:00 committed by Duncan Ogilvie
parent 3a89da37d8
commit 8c2bb24652
1 changed files with 0 additions and 4 deletions

View File

@ -422,10 +422,6 @@ QString CPUStack::paintContent(QPainter* painter, dsint rowBase, int rowOffset,
dsint wRva = (rowBase + rowOffset) * wBytePerRowCount - mByteOffset;
duint wVa = rvaToVa(wRva);
// This sets the first visible row to be selected when stack is frozen, so that we can scroll the stack without it being reset to first selection
if(bStackFrozen && rowOffset == 0)
setSingleSelection(wRva);
bool wIsSelected = isSelected(wRva);
if(wIsSelected) //highlight if selected
painter->fillRect(QRect(x, y, w, h), QBrush(selectionColor));