Changeset 95b513c in sasview
- Timestamp:
- Jul 9, 2012 12:55:14 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:
- cbba84f
- Parents:
- 14e4804
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
r14e4804 r95b513c 1365 1365 'Paste the selected Cells') 1366 1366 wx.EVT_MENU(self, self.paste_menu.GetId(), self.on_paste) 1367 1367 self.clear_menu = self.edit.Append(-1, 'Clear', 1368 'Clear the selected Cells') 1369 wx.EVT_MENU(self, self.clear_menu.GetId(), self.on_clear) 1370 1368 1371 self.edit.AppendSeparator() 1369 1372 hint = "Insert column before the selected column" … … 1402 1405 grid = self.panel.notebook.GetPage(pos) 1403 1406 grid.on_paste(None) 1407 1408 def on_clear(self, event): 1409 """ 1410 On Clear 1411 """ 1412 pos = self.panel.notebook.GetSelection() 1413 grid = self.panel.notebook.GetPage(pos) 1414 grid.Clear() 1404 1415 1405 1416 def GetLabelText(self, id): … … 1446 1457 has_selection = True 1447 1458 self.copy_menu.Enable(has_selection) 1459 self.clear_menu.Enable(has_selection) 1448 1460 1449 1461 if len(col_list) > 0:
Note: See TracChangeset
for help on using the changeset viewer.