mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-27 06:40:24 +00:00
GUI: Enhancement editing expression in watch view #2308
This commit is contained in:
parent
d422af7dd4
commit
d9c392d518
@ -248,7 +248,8 @@ void WatchView::modifyWatchSlot()
|
||||
void WatchView::editWatchSlot()
|
||||
{
|
||||
QString expr;
|
||||
if(SimpleInputBox(this, tr("Enter the expression to watch"), "", expr, tr("Example: [EAX]")))
|
||||
QString originalExpr = getCellContent(getInitialSelection(), 1);
|
||||
if(SimpleInputBox(this, tr("Enter the expression to watch"), originalExpr, expr, tr("Example: [EAX]")))
|
||||
DbgCmdExecDirect(QString("SetWatchExpression ").append(getSelectedId()).append(",").append(expr));
|
||||
updateWatch();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user