mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 20:06:12 +00:00
Refreshing now seeks to the correct offset (#552)
This commit is contained in:
parent
2293b608a8
commit
0c1935d3f1
@ -130,7 +130,7 @@ DisassemblyWidget::DisassemblyWidget(MainWindow *main, QAction *action)
|
||||
});
|
||||
|
||||
connect(Core(), &CutterCore::refreshAll, this, [this]() {
|
||||
refreshDisasm(Core()->getOffset());
|
||||
refreshDisasm(seekable->getOffset());
|
||||
});
|
||||
|
||||
connect(mCtxMenu, SIGNAL(copy()), mDisasTextEdit, SLOT(copy()));
|
||||
|
@ -74,7 +74,7 @@ HexdumpWidget::HexdumpWidget(MainWindow *main, QAction *action) :
|
||||
});
|
||||
|
||||
connect(Core(), &CutterCore::refreshAll, this, [this]() {
|
||||
refresh(Core()->getOffset());
|
||||
refresh(seekable->getOffset());
|
||||
});
|
||||
|
||||
connect(ui->hexHexText, &QTextEdit::selectionChanged, this, &HexdumpWidget::selectionChanged);
|
||||
|
Loading…
Reference in New Issue
Block a user