mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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) {
|
||||
memoryWidgetPriority = MemoryWidgetType::Disassembly;
|
||||
}
|
||||
|
||||
triggerRaisePrioritizedMemoryWidget();
|
||||
}
|
||||
triggerRaisePrioritizedMemoryWidget();
|
||||
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);
|
||||
if (!f) {
|
||||
// @TODO pop warning msg
|
||||
eprintf("r_core_file_open failed\n");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user