CPUStack: Freezing the stack no longer incorrectly causes the user to be unable to select a different address. (#1158)
This commit is contained in:
parent
3a89da37d8
commit
8c2bb24652
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue