mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-21 14:16:08 +00:00
parent
336c20a955
commit
0bdda99596
@ -353,7 +353,7 @@ void DisassemblyContextMenu::on_actionEditInstruction_triggered()
|
|||||||
QString oldInstruction = Core()->cmdj("aoj").array().first().toObject()["opcode"].toString();
|
QString oldInstruction = Core()->cmdj("aoj").array().first().toObject()["opcode"].toString();
|
||||||
e->setInstruction(oldInstruction);
|
e->setInstruction(oldInstruction);
|
||||||
|
|
||||||
if (e->exec()) {}
|
if (e->exec())
|
||||||
{
|
{
|
||||||
QString instruction = e->getInstruction();
|
QString instruction = e->getInstruction();
|
||||||
if (instruction != oldInstruction) {
|
if (instruction != oldInstruction) {
|
||||||
@ -397,7 +397,7 @@ void DisassemblyContextMenu::on_actionEditBytes_triggered()
|
|||||||
QString oldBytes = Core()->cmdj("aoj").array().first().toObject()["bytes"].toString();
|
QString oldBytes = Core()->cmdj("aoj").array().first().toObject()["bytes"].toString();
|
||||||
e->setInstruction(oldBytes);
|
e->setInstruction(oldBytes);
|
||||||
|
|
||||||
if (e->exec()) {}
|
if (e->exec())
|
||||||
{
|
{
|
||||||
QString bytes = e->getInstruction();
|
QString bytes = e->getInstruction();
|
||||||
if (bytes != oldBytes) {
|
if (bytes != oldBytes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user