Skip to content

Commit

Permalink
disabling for now, it can result in infinite loops :-/
Browse files Browse the repository at this point in the history
  • Loading branch information
eteran committed Aug 7, 2018
1 parent f4f0b4c commit c0b4ebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qhexview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ void QHexView::mouseReleaseEvent(QMouseEvent *event) {
// Name: ensureVisible
//------------------------------------------------------------------------------
void QHexView::ensureVisible(int64_t index) {
#if 0
if(index < normalizedOffset()) {
while(index < normalizedOffset()) {
verticalScrollBar()->setValue(verticalScrollBar()->value() - 1);
Expand All @@ -770,6 +771,7 @@ void QHexView::ensureVisible(int64_t index) {
}
viewport()->update();
}
#endif
}

//------------------------------------------------------------------------------
Expand Down

0 comments on commit c0b4ebf

Please sign in to comment.