mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Fixed switching between views in same offset (#483)
This commit is contained in:
parent
73d395c2be
commit
8ab3a3664c
@ -166,9 +166,8 @@ QString CutterCore::cmd(const QString &str)
|
|||||||
if (this->cmd("afi.").trimmed().isEmpty() && memoryWidgetPriority == MemoryWidgetType::Graph) {
|
if (this->cmd("afi.").trimmed().isEmpty() && memoryWidgetPriority == MemoryWidgetType::Graph) {
|
||||||
memoryWidgetPriority = MemoryWidgetType::Disassembly;
|
memoryWidgetPriority = MemoryWidgetType::Disassembly;
|
||||||
}
|
}
|
||||||
|
|
||||||
triggerRaisePrioritizedMemoryWidget();
|
|
||||||
}
|
}
|
||||||
|
triggerRaisePrioritizedMemoryWidget();
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -215,6 +214,7 @@ bool CutterCore::loadFile(QString path, ut64 baddr, ut64 mapaddr, int perms, int
|
|||||||
|
|
||||||
f = r_core_file_open(core_, path.toUtf8().constData(), perms, mapaddr);
|
f = r_core_file_open(core_, path.toUtf8().constData(), perms, mapaddr);
|
||||||
if (!f) {
|
if (!f) {
|
||||||
|
// @TODO pop warning msg
|
||||||
eprintf("r_core_file_open failed\n");
|
eprintf("r_core_file_open failed\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user