From 3eccc9f0e919de364e065ee80ea537dfc48b537b Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 22 Aug 2019 15:35:15 +0300 Subject: [PATCH] Issue #2981: Update color of text on color bar --- src/XGUI/XGUI_ViewerProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index 175ed8779..7e33366f9 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -665,7 +665,7 @@ void XGUI_ViewerProxy::setupColorScale() double aH = aResMgr->doubleValue("Viewer", "scalar_bar_height", 0.5); setColorScaleSize(aW, aH); - QColor aColor = aResMgr->integerValue("Viewer", "scalar_bar_text_color", Qt::black); + QColor aColor = aResMgr->colorValue("Viewer", "scalar_bar_text_color", Qt::black); setColorScaleTextColor(aColor); int aT = aResMgr->integerValue("Viewer", "scalar_bar_text_height", 14); -- 2.30.2