File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -981,6 +981,7 @@ void CPUDisassembly::gotoExpressionSlot()
981
981
return ;
982
982
if (!mGoto )
983
983
mGoto = new GotoDialog (this );
984
+ mGoto ->setInitialExpression (ToPtrString (rvaToVa (getInitialSelection ())));
984
985
if (mGoto ->exec () == QDialog::Accepted)
985
986
{
986
987
duint value = DbgValFromString (mGoto ->expressionText .toUtf8 ().constData ());
Original file line number Diff line number Diff line change @@ -563,6 +563,7 @@ void CPUDump::gotoExpressionSlot()
563
563
if (!mGoto )
564
564
mGoto = new GotoDialog (this );
565
565
mGoto ->setWindowTitle (tr (" Enter expression to follow in Dump..." ));
566
+ mGoto ->setInitialExpression (ToPtrString (rvaToVa (getInitialSelection ())));
566
567
if (mGoto ->exec () == QDialog::Accepted)
567
568
{
568
569
duint value = DbgValFromString (mGoto ->expressionText .toUtf8 ().constData ());
Original file line number Diff line number Diff line change @@ -652,6 +652,7 @@ void CPUStack::gotoExpressionSlot()
652
652
mGoto ->validRangeStart = base;
653
653
mGoto ->validRangeEnd = base + size;
654
654
mGoto ->setWindowTitle (tr (" Enter expression to follow in Stack..." ));
655
+ mGoto ->setInitialExpression (ToPtrString (rvaToVa (getInitialSelection ())));
655
656
if (mGoto ->exec () == QDialog::Accepted)
656
657
{
657
658
duint value = DbgValFromString (mGoto ->expressionText .toUtf8 ().constData ());
You can’t perform that action at this time.
0 commit comments