Changeset 08707cc in sasview
- Timestamp:
- May 7, 2018 4:08:33 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- aadfd693
- Parents:
- e810d8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasview/sasview.py
re810d8f r08707cc 222 222 223 223 #Create the OK button in the bottom row. 224 ok_button = wx.Button(panel, -1, 'OK') 225 self.Bind(wx.EVT_BUTTON, self.on_ok, source=ok_button) 224 ok_button = wx.Button(panel, wx.ID_OK ) 226 225 ok_button.SetFocus() 227 226 ok_button.SetDefault() … … 231 230 sizer.Add(ok_button, flag=wx.ALIGN_CENTER | wx.ALL, border=5) 232 231 panel.SetSizer(sizer) 233 234 def on_ok(self, event):235 self.Destroy()236 232 237 233 logger = logging.getLogger(__name__)
Note: See TracChangeset
for help on using the changeset viewer.