Update test.py

This commit is contained in:
Eric Yu 2022-07-17 16:01:14 -07:00 committed by GitHub
parent beae7523ad
commit 20093c52d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ if __name__ == '__main__':
get_devices() get_devices()
frame.SetTitle("Cease your resistance! - a0.0.0") frame.SetTitle("Cease your resistance! - a0.0.0")
frame.btLaunch.Bind(wx.EVT_BUTTON, run) 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.Show()
frame.m_textCtrl26.SetValue("480") frame.m_textCtrl26.SetValue("480")
app.MainLoop() app.MainLoop()