diff --git a/src/widgets/DisassemblerGraphView.cpp b/src/widgets/DisassemblerGraphView.cpp index 6d0024bb..2f984b6f 100644 --- a/src/widgets/DisassemblerGraphView.cpp +++ b/src/widgets/DisassemblerGraphView.cpp @@ -2024,7 +2024,7 @@ restart: void DisassemblerGraphView::xrefSlot() { - RVA addr = highlight_token->addr; + RVA addr = this->get_cursor_pos(); XrefsDialog *dialog = new XrefsDialog(this); dialog->fillRefsForAddress(addr, RAddressString(addr), false); dialog->exec();