diff --git a/scam.py b/scam.py index efa7acb..a33c9c9 100755 --- a/scam.py +++ b/scam.py @@ -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)