From 542022bff3c84902bb850612298d8bae832f6c8c Mon Sep 17 00:00:00 2001 From: AweesneW <75130516+AweesneW@users.noreply.github.com> Date: Fri, 12 Feb 2021 14:43:18 +0100 Subject: [PATCH] Update HighlightingPage.cpp (#2404) Co-authored-by: Leon Richardt Co-authored-by: pajlada --- CHANGELOG.md | 1 + src/widgets/settingspages/HighlightingPage.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18ec15e9a..a3f8aea7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ - Minor: Made username autocompletion truecase (#1199, #1883) - Minor: Update the listing of top-level domains. (#2345) - Minor: Properly respect RECONNECT messages from Twitch (#2347) +- Minor: Hide "Case-sensitive" column for user highlights. (#2404) - Minor: Added human-readable formatting to remaining timeout duration. (#2398) - Minor: Added `/streamlink` command. Usage: `/streamlink `. You can also use the command without arguments in any twitch channel to open it in streamlink. (#2443) - Bugfix: Fix crash occurring when pressing Escape in the Color Picker Dialog (#1843) diff --git a/src/widgets/settingspages/HighlightingPage.cpp b/src/widgets/settingspages/HighlightingPage.cpp index 96682fc13..e83e98873 100644 --- a/src/widgets/settingspages/HighlightingPage.cpp +++ b/src/widgets/settingspages/HighlightingPage.cpp @@ -99,8 +99,10 @@ HighlightingPage::HighlightingPage() .getElement(); view->addRegexHelpLink(); - view->getTableView()->horizontalHeader()->hideSection(4); - + view->getTableView()->horizontalHeader()->hideSection( + HighlightModel::Column::UseRegex); + view->getTableView()->horizontalHeader()->hideSection( + HighlightModel::Column::CaseSensitive); // Case-sensitivity doesn't make sense for user names so it is // set to "false" by default & the column is hidden view->setTitles({"Username", "Show in\nMentions",