Changeset 0f17dd9 in sasview for sansguiframe/src/sans
- Timestamp:
- Oct 5, 2011 12:10:33 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:
- 41661a0
- Parents:
- 31469d50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/plotting.py
r4f70cc8 r0f17dd9 273 273 if hasattr(event, 'action'): 274 274 group_id = event.group_id 275 #remove data from panel 276 if event.action.lower() == 'remove': 277 id = event.id 278 return self.remove_plot(group_id, id) 279 if event.action.lower() == 'hide': 280 return self.hide_panel(group_id) 281 if event.action.lower() == 'delete': 282 panel = self.plot_panels[group_id] 283 uid = panel.uid 284 return self.parent.delete_panel(uid) 285 if event.action.lower() == "clear": 286 return self.clear_panel_by_id(group_id) 287 275 if group_id in self.plot_panels.keys(): 276 #remove data from panel 277 if event.action.lower() == 'remove': 278 id = event.id 279 return self.remove_plot(group_id, id) 280 if event.action.lower() == 'hide': 281 return self.hide_panel(group_id) 282 if event.action.lower() == 'delete': 283 panel = self.plot_panels[group_id] 284 uid = panel.uid 285 return self.parent.delete_panel(uid) 286 if event.action.lower() == "clear": 287 return self.clear_panel_by_id(group_id) 288 if not hasattr(event, 'plot'): 289 return 288 290 title = None 289 291 if hasattr(event, 'title'):
Note: See TracChangeset
for help on using the changeset viewer.