Changeset 6a7cf2c in sasview for sansguiframe
- Timestamp:
- Sep 14, 2011 1:35:59 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:
- 14ecd871
- Parents:
- df83aa4
- Location:
- sansguiframe/src/sans/guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
r296b9c1 r6a7cf2c 640 640 """ 641 641 msg = "This operation will delete the data sets checked " 642 msg += "and all the related."642 msg += "and all the dependents." 643 643 msg_box = wx.MessageDialog(None, msg, 'Warning', wx.OK|wx.CANCEL) 644 644 if msg_box.ShowModal() != wx.ID_OK: -
sansguiframe/src/sans/guiframe/gui_manager.py
rfec4939 r6a7cf2c 2258 2258 group_id=group_id, 2259 2259 action='remove')) 2260 #remove res plot: Todo: improve 2261 self._remove_res_plot(id) 2260 2262 self._data_manager.delete_data(data_id=data_id, 2261 2263 theory_id=theory_id) 2262 2264 2263 2265 def _remove_res_plot(self, id): 2266 """ 2267 Try to remove corresponding res plot 2268 2269 : param id: id of the data 2270 """ 2271 try: 2272 wx.PostEvent(self, NewPlotEvent(id=("res"+id), 2273 group_id=("res"+id), 2274 action='remove')) 2275 except: 2276 pass 2277 2264 2278 def set_current_perspective(self, perspective): 2265 2279 """
Note: See TracChangeset
for help on using the changeset viewer.