From 51b3cff4a903eb6a78d5cbdc29d469ad4b605609 Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Thu, 14 Mar 2019 20:14:39 -0400 Subject: [PATCH] Fix for #1877 --- gui/builtinStatsViews/resourcesViewFull.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/builtinStatsViews/resourcesViewFull.py b/gui/builtinStatsViews/resourcesViewFull.py index 77a1eaae5..dbf3259dc 100644 --- a/gui/builtinStatsViews/resourcesViewFull.py +++ b/gui/builtinStatsViews/resourcesViewFull.py @@ -278,12 +278,16 @@ class ResourcesViewFull(StatsView): totalCalibrationPoints = value labelTCP = label + # See #1877 + shown = label.Shown + label.Show(True) if isinstance(value, str): label.SetLabel(value) label.SetToolTip(wx.ToolTip(value)) else: label.SetLabel(formatAmount(value, prec, lowest, highest)) label.SetToolTip(wx.ToolTip("%.1f" % value)) + label.Show(shown) colorWarn = wx.Colour(204, 51, 51) colorNormal = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)