From 9e30d0054e7b3eb10e4e464b12ae3cc1eecc9585 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 1 Apr 2025 23:22:12 -0400 Subject: Fix bug with decode pushing checked_out when delayed with RAW --- gui/gui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/gui.cc') diff --git a/gui/gui.cc b/gui/gui.cc index b96d65d..3d3c56f 100644 --- a/gui/gui.cc +++ b/gui/gui.cc @@ -63,7 +63,7 @@ void displayArrayHTML(QTextEdit *textEdit, const std::array &data) QString tableText = ""; tableText += ""; - int index = 1; + int index = 0; for (int value : data) { tableText += QString("
" "%1 %2" @@ -83,7 +83,7 @@ void displayTableHTML(QTextEdit *textEdit, const std::vectorsetReadOnly(false); QString tableText = ""; - int index = 1; + int index = 0; for (const auto &row : data) { tableText += ""; for (signed int value : row) { @@ -118,7 +118,7 @@ void browseAndUploadFile(QTextEdit *textEdit) { QTextStream in(&file); QString content; - int lineNumber = 1; + int lineNumber = 0; while (!in.atEnd()) { QString line = in.readLine(); -- cgit v1.2.3