From 8ab3a3664ce3889caa46dea20cdd308116eb47b0 Mon Sep 17 00:00:00 2001 From: fcasal Date: Tue, 8 May 2018 19:09:05 +0100 Subject: [PATCH] Fixed switching between views in same offset (#483) --- src/Cutter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cutter.cpp b/src/Cutter.cpp index 1863f545..edc51cb8 100644 --- a/src/Cutter.cpp +++ b/src/Cutter.cpp @@ -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; }