Changeset ba535a6 in sasview for guiframe/local_perspectives
- Timestamp:
- Apr 9, 2010 11:01:36 AM (15 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:
- 2fc9243
- Parents:
- f71c2de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/Plotter1D.py
rc81140c rba535a6 327 327 if hasattr(self.plots[self.graph.selected_plottable], "group_id"): 328 328 new_plot.group_id = self.plots[self.graph.selected_plottable].group_id 329 new_plot.id = self.plots[self.graph.selected_plottable].id 329 if hasattr(self.plots[self.graph.selected_plottable],"id"): 330 new_plot.id = self.plots[self.graph.selected_plottable].id 331 else: 332 new_plot.id = str(time.time()) 330 333 else: 331 334 new_plot.group_id = str(time.time()) … … 408 411 if hasattr(self.plots[self.graph.selected_plottable], "group_id"): 409 412 new_plot.group_id = self.plots[self.graph.selected_plottable].group_id 410 new_plot.id = self.plots[self.graph.selected_plottable].id 413 if hasattr(self.plots[self.graph.selected_plottable],"id"): 414 new_plot.id = self.plots[self.graph.selected_plottable].id 415 else: 416 new_plot.id = str(time.time()) 411 417 else: 412 418 new_plot.group_id = str(time.time())
Note: See TracChangeset
for help on using the changeset viewer.