summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 162d33b..84604b8 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -84,6 +84,9 @@ void MainWindow::on_actionLoad_triggered()
line = txtStream.readLine();
}
+ ui->tableWidget->resizeColumnsToContents();
+ ui->tableWidget->setSortingEnabled(true);
+
openFile.close();
}
}