Changeset ae84427 in sasview for calculatorview/src/sans/perspectives/calculator/data_operator.py
- Timestamp:
- Apr 20, 2013 7:14:41 PM (12 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:
- ba152f1
- Parents:
- d4895dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r657e52c rae84427 615 615 event.Skip() 616 616 617 def disconnect_panels(self): 618 """ 619 """ 620 self.out_pic.connect.disconnect() 621 self.equal_pic.connect.disconnect() 622 self.data1_pic.connect.disconnect() 623 self.operator_pic.connect.disconnect() 624 self.data2_pic.connect.disconnect() 625 617 626 def on_close(self, event): 618 627 """ … … 926 935 927 936 class DataOperatorWindow(wx.Frame): 928 def __init__(self, parent, *args, **kwds):937 def __init__(self, parent, manager, *args, **kwds): 929 938 kwds["size"] = (PANEL_WIDTH, PANEL_HEIGTH) 930 939 wx.Frame.__init__(self, parent, *args, **kwds) 931 940 self.parent = parent 941 self.manager = manager 932 942 self.panel = DataOperPanel(parent=self) 933 943 wx.EVT_CLOSE(self, self.OnClose) … … 939 949 On close event 940 950 """ 941 self.Show(False) 951 if self.manager != None: 952 self.manager.data_operator_frame = None 953 self.panel.disconnect_panels() 954 self.Destroy() 942 955 943 956
Note: See TracChangeset
for help on using the changeset viewer.