Commit bd82c8f0 authored by ck's avatar ck
Browse files

BinEditor: Properly set cursor position on new data range.

parent d8e7bb9c
......@@ -431,11 +431,7 @@ void BinEditor::setLazyData(quint64 startAddr, int range, int blockSize)
init();
m_cursorPosition = startAddr - m_baseAddr;
verticalScrollBar()->setValue(m_cursorPosition / 16);
emit cursorPositionChanged(m_cursorPosition);
viewport()->update();
setCursorPosition(startAddr - m_baseAddr);
}
void BinEditor::resizeEvent(QResizeEvent *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment