Changeset 3f0351c6 in sasview
- Timestamp:
- Feb 4, 2011 3:34:12 PM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3cd5806
- Parents:
- a45037aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/perspectives/pr/inversion_panel.py
r6d3d5ff r3f0351c6 36 36 """ 37 37 ScrolledPanel.__init__(self, parent, id=id, **kwargs) 38 PanelBase.__init__(self )38 PanelBase.__init__(self, parent) 39 39 self.SetupScrolling() 40 40 … … 235 235 return wx.Panel.__getattribute__(self, name) 236 236 237 def _save_state(self, evt=None):237 def on_save(self, evt=None): 238 238 """ 239 239 Method used to create a memento of the current state … … 675 675 button_Save = wx.Button(self, id, "Save") 676 676 button_Save.SetToolTipString("Save the current P(r) work to file.") 677 self.Bind(wx.EVT_BUTTON, self. _save_state, id=id)678 677 self.Bind(wx.EVT_BUTTON, self.on_save, id=id) 678 self._set_save_flag(True) 679 679 sizer_button = wx.BoxSizer(wx.HORIZONTAL) 680 680 sizer_button.Add((20, 20), 1, wx.EXPAND|wx.ADJUST_MINSIZE, 0)
Note: See TracChangeset
for help on using the changeset viewer.