From e0983d897fee5b8a166812cdd92f778908091079 Mon Sep 17 00:00:00 2001 From: Kyle Boyle Date: Tue, 3 Dec 2024 14:42:36 -0400 Subject: [PATCH] adds sorting function to logbook table columns --- ui/LogbookWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/LogbookWidget.cpp b/ui/LogbookWidget.cpp index 744f2160..8a20434d 100644 --- a/ui/LogbookWidget.cpp +++ b/ui/LogbookWidget.cpp @@ -161,7 +161,7 @@ LogbookWidget::LogbookWidget(QWidget *parent) : ui->contactTable->showColumn(LogbookModel::COLUMN_QTH_INTL); ui->contactTable->showColumn(LogbookModel::COLUMN_COMMENT_INTL); } - + ui->contactTable->setSortingEnabled(true); ui->contactTable->horizontalHeader()->setSectionsMovable(true); ui->contactTable->setStyle(new ProxyStyle(ui->contactTable->style())); ui->contactTable->installEventFilter(this);