Changeset d97dd6f in sasview for sansguiframe/src/sans/guiframe/local_perspectives/plotting
- Timestamp:
- Sep 21, 2011 6:01:53 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:
- 22ce7e2
- Parents:
- e1a97f8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/plotting.py
ra48ecbd rd97dd6f 175 175 176 176 wx.EVT_SHOW(new_panel, self._on_close_panel) 177 177 178 178 179 179 def create_1d_panel(self, data, group_id): … … 258 258 self.delete_menu_item(panel.window_caption, panel.uid) 259 259 del self.plot_panels[group_id] 260 self.parent.delete_panel(uid)260 #self.parent.delete_panel(uid) 261 261 return True 262 262 263 return False 263 264 … … 280 281 return self.hide_panel(group_id) 281 282 if event.action.lower() == 'delete': 282 return self.delete_panel(group_id) 283 panel = self.plot_panels[group_id] 284 uid = panel.uid 285 return self.parent.delete_panel(uid) 283 286 if event.action.lower() == "clear": 284 287 return self.clear_panel_by_id(group_id)
Note: See TracChangeset
for help on using the changeset viewer.