diff --git a/test.py b/test.py index c6e2a3a..219151f 100644 --- a/test.py +++ b/test.py @@ -131,7 +131,7 @@ if __name__ == '__main__': get_devices() frame.SetTitle("Cease your resistance! - a0.0.0") frame.btLaunch.Bind(wx.EVT_BUTTON, run) - frame.plot_but.Bind(wx.EVT_BUTTON, runPlot) + frame.plot_but.Bind(wx.EVT_BUTTON, runPlot) # There is one problem with this approch: what happen if user spamming the plot button? frame.Show() frame.m_textCtrl26.SetValue("480") app.MainLoop()