From 7d145e35775e3e543dd6ed51242ebed2344e8a2f Mon Sep 17 00:00:00 2001 From: nerix Date: Sat, 4 Nov 2023 19:42:13 +0100 Subject: [PATCH] Disable clickable sections in tables (#4913) --- CHANGELOG.md | 1 + src/widgets/helper/EditableModelView.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 557a469ac..461bfd8e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ - Bugfix: Fixed the input completion popup from disappearing when clicking on it on Windows and macOS. (#4876) - Bugfix: Fixed double-click text selection moving its position with each new message. (#4898) - Bugfix: Fixed an issue where notifications on Windows would contain no or an old avatar. (#4899) +- Bugfix: Fixed headers of tables in the settings switching to bold text when selected. (#4913) - Bugfix: Fixed tooltips appearing too large and/or away from the cursor. (#4920) - Bugfix: Fixed a crash when clicking `More messages below` button in a usercard and closing it quickly. (#4933) - Dev: Change clang-format from v14 to v16. (#4929) diff --git a/src/widgets/helper/EditableModelView.cpp b/src/widgets/helper/EditableModelView.cpp index 97c6840b8..20a618bd7 100644 --- a/src/widgets/helper/EditableModelView.cpp +++ b/src/widgets/helper/EditableModelView.cpp @@ -26,6 +26,7 @@ EditableModelView::EditableModelView(QAbstractTableModel *model, bool movable) this->tableView_->setDragDropOverwriteMode(false); this->tableView_->setDefaultDropAction(Qt::DropAction::MoveAction); this->tableView_->verticalHeader()->setVisible(false); + this->tableView_->horizontalHeader()->setSectionsClickable(false); // create layout QVBoxLayout *vbox = new QVBoxLayout(this);