From d9fc3d436b4db0353146299952db7a5ab3b22328 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 19 Jun 2016 23:50:23 -0400 Subject: [PATCH] Allow EHP toggle to persist between fits (#641) --- gui/builtinStatsViews/resistancesViewFull.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gui/builtinStatsViews/resistancesViewFull.py b/gui/builtinStatsViews/resistancesViewFull.py index 85f9dbd06..55daa813d 100644 --- a/gui/builtinStatsViews/resistancesViewFull.py +++ b/gui/builtinStatsViews/resistancesViewFull.py @@ -168,10 +168,6 @@ class ResistancesViewFull(StatsView): self.showEffective = True wx.PostEvent(self.mainFrame, EffectiveHpToggled(effective=True)) return - elif fit is not None and fit.ID != self.activeFit and not self.showEffective: - self.showEffective = True - wx.PostEvent(self.mainFrame, EffectiveHpToggled(effective=True)) - return self.stEHPs.SetLabel("EHP" if self.showEffective else "HP") self.activeFit = fit.ID if fit is not None else None