moved .Disable() calls together
This commit is contained in:
10
scam.py
10
scam.py
@ -71,19 +71,19 @@ class MainPanel(wx.Panel):
|
|||||||
self.cb_pls = cb_pls = wx.ComboBox(self, choices=pls)
|
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")
|
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_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")
|
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.entries = entries = SettingsList(self)
|
||||||
|
|
||||||
self.btn_print = btn_print = wx.Button(self, label="Print")
|
self.btn_print = btn_print = wx.Button(self, label="Print")
|
||||||
btn_print.Disable()
|
|
||||||
|
|
||||||
self.btn_save = btn_save = wx.Button(self, label="Save")
|
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()
|
btn_save.Disable()
|
||||||
|
|
||||||
cb_pls.Bind(wx.EVT_COMBOBOX, self.on_select)
|
cb_pls.Bind(wx.EVT_COMBOBOX, self.on_select)
|
||||||
|
Reference in New Issue
Block a user