From 3beec936ec9afb06e83d8af9a0195fa4c52f18d8 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Thu, 21 Sep 2023 00:29:43 +0200 Subject: [PATCH] Fix the missing configuration for the table header background Closes #3218 --- bin/themes/Dark/style.ini | 1 + src/gui/Src/Gui/AppearanceDialog.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/themes/Dark/style.ini b/bin/themes/Dark/style.ini index bd0113e6..5d35301a 100644 --- a/bin/themes/Dark/style.ini +++ b/bin/themes/Dark/style.ini @@ -1,6 +1,7 @@ [Colors] AbstractTableViewBackgroundColor=#212121 AbstractTableViewHeaderTextColor=#E0E0E0 +AbstractTableViewHeaderBackgroundColor=#414141 AbstractTableViewSelectionColor=#414141 AbstractTableViewSeparatorColor=#717171 AbstractTableViewTextColor=#E0E0E0 diff --git a/src/gui/Src/Gui/AppearanceDialog.cpp b/src/gui/Src/Gui/AppearanceDialog.cpp index 160ae518..3bbc3ab6 100644 --- a/src/gui/Src/Gui/AppearanceDialog.cpp +++ b/src/gui/Src/Gui/AppearanceDialog.cpp @@ -431,7 +431,7 @@ void AppearanceDialog::colorInfoListInit() colorInfoListCategory(tr("General Tables:"), "AbstractTableViewBackgroundColor", "AbstractTableView"); colorInfoListAppend(tr("Background"), "AbstractTableViewBackgroundColor", ""); colorInfoListAppend(tr("Selection"), "AbstractTableViewSelectionColor", ""); - colorInfoListAppend(tr("Header Text"), "AbstractTableViewHeaderTextColor", ""); + colorInfoListAppend(tr("Header"), "AbstractTableViewHeaderTextColor", "AbstractTableViewHeaderBackgroundColor"); colorInfoListAppend(tr("Text"), "AbstractTableViewTextColor", ""); colorInfoListAppend(tr("Separators"), "AbstractTableViewSeparatorColor", "");