mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Use cmdRaw and cmdRawAt in EditVariablesDialog
This commit is contained in:
parent
07a5b4a748
commit
932318b407
@ -15,7 +15,7 @@ EditVariablesDialog::EditVariablesDialog(RVA offset, QString initialVar, QWidget
|
|||||||
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(applyFields()));
|
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(applyFields()));
|
||||||
connect(ui->dropdownLocalVars, SIGNAL(currentIndexChanged(int)), SLOT(updateFields()));
|
connect(ui->dropdownLocalVars, SIGNAL(currentIndexChanged(int)), SLOT(updateFields()));
|
||||||
|
|
||||||
QString fcnName = Core()->cmd(QString("afn @ %1").arg(offset)).trimmed();
|
QString fcnName = Core()->cmdRawAt("afn.", offset).trimmed();
|
||||||
setWindowTitle(tr("Set Variable Types for Function: %1").arg(fcnName));
|
setWindowTitle(tr("Set Variable Types for Function: %1").arg(fcnName));
|
||||||
|
|
||||||
variables = Core()->getVariables(offset);
|
variables = Core()->getVariables(offset);
|
||||||
|
Loading…
Reference in New Issue
Block a user