diff --git a/src/Cutter.cpp b/src/Cutter.cpp index 8826dc5a..b3bdacd9 100644 --- a/src/Cutter.cpp +++ b/src/Cutter.cpp @@ -490,6 +490,11 @@ void CutterCore::seekNext() triggerRaisePrioritizedMemoryWidget(); } +void CutterCore::updateSeek() +{ + emit seekChanged(core_->offset); +} + RVA CutterCore::prevOpAddr(RVA startAddr, int count) { CORE_LOCK(); diff --git a/src/Cutter.h b/src/Cutter.h index d96394a2..50bbd52c 100644 --- a/src/Cutter.h +++ b/src/Cutter.h @@ -440,6 +440,7 @@ public: void seek(ut64 offset); void seekPrev(); void seekNext(); + void updateSeek(); RVA getOffset(); RVA prevOpAddr(RVA startAddr, int count); RVA nextOpAddr(RVA startAddr, int count); diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 9fd96a61..d7afcd0c 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -392,6 +392,7 @@ void MainWindow::finalizeOpen() // Override any incorrect setting saved in the project core->setSettings(); + core->updateSeek(); core->message(tr(" > Populating UI")); refreshAll();