mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-02 02:05:26 +00:00
update offset at startup (#681)
This commit is contained in:
parent
da0db41888
commit
9501ecf38c
@ -490,6 +490,11 @@ void CutterCore::seekNext()
|
|||||||
triggerRaisePrioritizedMemoryWidget();
|
triggerRaisePrioritizedMemoryWidget();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CutterCore::updateSeek()
|
||||||
|
{
|
||||||
|
emit seekChanged(core_->offset);
|
||||||
|
}
|
||||||
|
|
||||||
RVA CutterCore::prevOpAddr(RVA startAddr, int count)
|
RVA CutterCore::prevOpAddr(RVA startAddr, int count)
|
||||||
{
|
{
|
||||||
CORE_LOCK();
|
CORE_LOCK();
|
||||||
|
@ -440,6 +440,7 @@ public:
|
|||||||
void seek(ut64 offset);
|
void seek(ut64 offset);
|
||||||
void seekPrev();
|
void seekPrev();
|
||||||
void seekNext();
|
void seekNext();
|
||||||
|
void updateSeek();
|
||||||
RVA getOffset();
|
RVA getOffset();
|
||||||
RVA prevOpAddr(RVA startAddr, int count);
|
RVA prevOpAddr(RVA startAddr, int count);
|
||||||
RVA nextOpAddr(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
|
// Override any incorrect setting saved in the project
|
||||||
core->setSettings();
|
core->setSettings();
|
||||||
|
|
||||||
|
core->updateSeek();
|
||||||
core->message(tr(" > Populating UI"));
|
core->message(tr(" > Populating UI"));
|
||||||
refreshAll();
|
refreshAll();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user