mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-30 00:35:25 +00:00
update offset at startup (#681)
This commit is contained in:
parent
da0db41888
commit
9501ecf38c
@ -490,6 +490,11 @@ void CutterCore::seekNext()
|
||||
triggerRaisePrioritizedMemoryWidget();
|
||||
}
|
||||
|
||||
void CutterCore::updateSeek()
|
||||
{
|
||||
emit seekChanged(core_->offset);
|
||||
}
|
||||
|
||||
RVA CutterCore::prevOpAddr(RVA startAddr, int count)
|
||||
{
|
||||
CORE_LOCK();
|
||||
|
@ -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);
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user