moved .Disable() calls together

This commit is contained in:
gac-maloja
2021-10-02 18:39:27 +02:00
parent 4c7cb24aa8
commit 3e4decb4c9

10
scam.py
View File

@ -71,19 +71,19 @@ class MainPanel(wx.Panel):
self.cb_pls = cb_pls = wx.ComboBox(self, choices=pls)
self.eb_bkg = eb_bkg = EntryButton(self, label="Background Images", value=100, button="Record Background")
eb_bkg.Disable()
self.btn_get_roi_bkg = btn_get_roi_bkg = wx.Button(self, label="Get ROI Background from ScreenPanel")
self.btn_get_roi_sig = btn_get_roi_sig = wx.Button(self, label="Get ROI Signal from ScreenPanel")
btn_get_roi_bkg.Disable()
btn_get_roi_sig.Disable()
self.entries = entries = SettingsList(self)
self.btn_print = btn_print = wx.Button(self, label="Print")
btn_print.Disable()
self.btn_save = btn_save = wx.Button(self, label="Save")
eb_bkg.Disable()
btn_get_roi_bkg.Disable()
btn_get_roi_sig.Disable()
btn_print.Disable()
btn_save.Disable()
cb_pls.Bind(wx.EVT_COMBOBOX, self.on_select)