1
0
Fork 0

GUI: fixed a focus issue with plugin dialogs

This commit is contained in:
mrexodia 2017-08-10 07:56:46 +02:00
parent e9cfedd722
commit fafb376946
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
2 changed files with 2 additions and 2 deletions

View File

@ -498,7 +498,7 @@ void CPUDump::mouseMoveEvent(QMouseEvent* event)
auto va = rvaToVa(getItemStartingAddress(x, y)); auto va = rvaToVa(getItemStartingAddress(x, y));
// Read VA // Read VA
QToolTip::showText(event->globalPos(), getTooltipForVa(va, 4), this); QToolTip::showText(event->globalPos(), getTooltipForVa(va, 4));
HexDump::mouseMoveEvent(event); HexDump::mouseMoveEvent(event);
} }

View File

@ -1718,7 +1718,7 @@ void RegistersView::mouseMoveEvent(QMouseEvent* event)
setCursor(QCursor(Qt::ArrowCursor)); setCursor(QCursor(Qt::ArrowCursor));
} }
if(!registerHelpInformation.isEmpty()) if(!registerHelpInformation.isEmpty())
QToolTip::showText(event->globalPos(), registerHelpInformation, this); QToolTip::showText(event->globalPos(), registerHelpInformation);
else else
QToolTip::hideText(); QToolTip::hideText();
QScrollArea::mouseMoveEvent(event); QScrollArea::mouseMoveEvent(event);