diff --git a/libxiv b/libxiv index 58cd409..fbe386c 160000 --- a/libxiv +++ b/libxiv @@ -1 +1 @@ -Subproject commit 58cd40912f15c4c66d157eab4ed708755803c753 +Subproject commit fbe386c958e5caa716aac13c82e05af0c4abcbe7 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 25001b8..b256f28 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -55,6 +55,10 @@ MainWindow::MainWindow(GameData& data) : data(data) { auto newItem = new QTableWidgetItem(exd.rows[i].data[j].data.c_str()); tableWidget->setItem(i, j, newItem); + + QTableWidgetItem* headerItem = new QTableWidgetItem(); + headerItem->setText(exd.rows[i].data[j].type.c_str()); + tableWidget->setHorizontalHeaderItem(j, headerItem); } } }