summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r--src/gui/widgets/guitable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 4a0f88246..082d3445c 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -49,7 +49,7 @@ GuiTable::GuiTable(const Widget2 *const widget,
mModel(nullptr),
mTopWidget(nullptr),
mActionListeners2(),
- mHighlightColor(getThemeColor(ThemeColorId::HIGHLIGHT)),
+ mHighlightColor(getThemeColor(ThemeColorId::HIGHLIGHT, 255U)),
mSelectedRow(-1),
mSelectedColumn(-1),
mLinewiseMode(false),
@@ -58,7 +58,7 @@ GuiTable::GuiTable(const Widget2 *const widget,
mSelectableGui(true)
{
mAllowLogic = false;
- mBackgroundColor = getThemeColor(ThemeColorId::BACKGROUND);
+ mBackgroundColor = getThemeColor(ThemeColorId::BACKGROUND, 255U);
setModel(initial_model);
setFocusable(true);