mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
Rename a context menu item (#2267)
This commit is contained in:
parent
e88ad82968
commit
4685f4faaf
@ -69,11 +69,11 @@ Rename Flag/Function/Variable
|
||||
|
||||
**Shortcut:** :kbd:`Shift` + :kbd:`N`
|
||||
|
||||
Re-type function local variables
|
||||
Re-type Local Variables
|
||||
----------------------------------------
|
||||
**Description:** Rename or set the types of the function's variables and arguments.
|
||||
|
||||
**Steps:** Right click anywhere inside a function and then choose ``Re-type function local vars``.
|
||||
**Steps:** Right click anywhere inside a function and then choose ``Re-type Local Variables``.
|
||||
|
||||
**Shortcut:** :kbd:`Y`
|
||||
|
||||
|
@ -102,7 +102,7 @@ DisassemblyContextMenu::DisassemblyContextMenu(QWidget *parent, MainWindow *main
|
||||
SLOT(on_actionRenameUsedHere_triggered()), getRenameUsedHereSequence());
|
||||
addAction(&actionRenameUsedHere);
|
||||
|
||||
initAction(&actionSetFunctionVarTypes, tr("Re-type function local vars"),
|
||||
initAction(&actionSetFunctionVarTypes, tr("Re-type Local Variables"),
|
||||
SLOT(on_actionSetFunctionVarTypes_triggered()), getRetypeSequence());
|
||||
addAction(&actionSetFunctionVarTypes);
|
||||
|
||||
@ -860,7 +860,7 @@ void DisassemblyContextMenu::on_actionSetFunctionVarTypes_triggered()
|
||||
RAnalFunction *fcn = Core()->functionIn(offset);
|
||||
|
||||
if (!fcn) {
|
||||
QMessageBox::critical(this, tr("Re-type function local vars"),
|
||||
QMessageBox::critical(this, tr("Re-type Local Variables"),
|
||||
tr("You must be in a function to define variable types."));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user