diff --git a/gui/builtinStatsViews/rechargeViewFull.py b/gui/builtinStatsViews/rechargeViewFull.py index c73aaf0b45..ef35850950 100644 --- a/gui/builtinStatsViews/rechargeViewFull.py +++ b/gui/builtinStatsViews/rechargeViewFull.py @@ -105,6 +105,11 @@ def refreshPanel(self, fit): lbl = getattr(self, "labelTank%s%sActive" % (stability.capitalize(), name.capitalize())) if tank is not None: lbl.SetLabel("%.1f" % tank["%sRepair" % name]) + if (stability == "reinforced") & \ + (tank["%sRepair" % name] > 0) & \ + (not fit.capStable): #show tooltip only if fit is not capstable + totalDPSTank = tank["%sRepair" % name] * fit.capState + lbl.SetToolTip(wx.ToolTip("Total DPS Tank: %.0f HP" % totalDPSTank)) else: lbl.SetLabel("0.0") @@ -118,7 +123,7 @@ def refreshPanel(self, fit): label = getattr(self, "labelTankSustainedShieldPassive") label.SetLabel("0") - label.SetToolTip(wx.ToolTip("%.3f" % value)) + label.SetToolTip(wx.ToolTip("Passive Tank: %.3f HP/s" % value)) self.panel.Layout() self.headerPanel.Layout()