Fix decompiler widget not updating xrefs to decompiled function (#1851)

This commit is contained in:
Wesley King 2019-10-20 04:58:58 -04:00 committed by xarkes
parent 723c1ea33d
commit 3e0d5a8981

View File

@ -239,6 +239,7 @@ void DecompilerWidget::updateCursorPosition()
if (pos == SIZE_MAX) { if (pos == SIZE_MAX) {
return; return;
} }
mCtxMenu->setOffset(offset);
connectCursorPositionChanged(true); connectCursorPositionChanged(true);
QTextCursor cursor = ui->textEdit->textCursor(); QTextCursor cursor = ui->textEdit->textCursor();
cursor.setPosition(pos); cursor.setPosition(pos);