From c3becec8228208e0d285e6561e1405f43da3768e Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 2 Jul 2019 16:36:11 +0300 Subject: [PATCH] Refresh graph when calculation returned some error --- gui/graphFrame/frame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/graphFrame/frame.py b/gui/graphFrame/frame.py index 033957113..716d934bb 100644 --- a/gui/graphFrame/frame.py +++ b/gui/graphFrame/frame.py @@ -220,6 +220,7 @@ class GraphFrame(wx.Frame): except Exception as ex: pyfalog.warning('Invalid values in "{0}"', fit.name) self.canvas.draw() + self.Refresh() return # Special case for when we do not show Y = 0 and have no fits