From 2af51a1af0d3ac893c1a7640ad1f08571b90897c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Fri, 13 Apr 2018 11:29:11 +0200 Subject: [PATCH] Fix Hexdump Scroll Up Loading --- src/widgets/HexdumpWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/HexdumpWidget.cpp b/src/widgets/HexdumpWidget.cpp index b992abbd..3e65b3a8 100644 --- a/src/widgets/HexdumpWidget.cpp +++ b/src/widgets/HexdumpWidget.cpp @@ -838,8 +838,8 @@ void HexdumpWidget::scrollChanged() int firstLine = getDisplayedLined(ui->hexHexText); if (firstLine < (bufferLines / 2)) { - auto hexdump = fetchHexdump(first_loaded_address, bufferLines); first_loaded_address -= bufferLines * cols; + auto hexdump = fetchHexdump(first_loaded_address, bufferLines); prependWithoutScroll(ui->hexOffsetText, hexdump[0]); prependWithoutScroll(ui->hexHexText, hexdump[1]); prependWithoutScroll(ui->hexASCIIText, hexdump[2]);