Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
bd82c8f0
Commit
bd82c8f0
authored
Feb 18, 2010
by
ck
Browse files
BinEditor: Properly set cursor position on new data range.
parent
d8e7bb9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/bineditor/bineditor.cpp
View file @
bd82c8f0
...
...
@@ -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
*
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment