Changeset b025572 in sasview
- Timestamp:
- Dec 20, 2011 6:57:30 PM (13 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:
- 6e01f06
- Parents:
- 7c8d3093
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/resolution_calculator_panel.py
r5f3164c rb025572 706 706 if self.image != None: 707 707 self.image.clf() 708 #self.image.draw() 708 # reset image 709 self.image = None 709 710 # Close panel 710 self.parent.Close() 711 # reset image 712 self.image = None 711 self.parent.OnClose(None) 712 713 713 714 714 def on_compute(self, event = None): … … 1403 1403 self.Centre() 1404 1404 self.Show(True) 1405 wx.EVT_CLOSE(self, self.OnClose) 1406 1407 def OnClose(self, event): 1408 """ 1409 On close event 1410 """ 1411 _pylab_helpers.Gcf.figs = {} 1412 self.Destroy() 1413 1405 1414 1406 1415 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.