Changeset 330c63b in sasview for invariantview/perspectives/invariant
- Timestamp:
- Jul 27, 2010 4:03:57 PM (14 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:
- 6450d8c
- Parents:
- 83ee3851
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_panel.py
raa5617d r330c63b 120 120 data, path = self.data_cbbox.GetClientData(n) 121 121 self._manager.compute_helper(data=data) 122 title = os.path.basename(path)122 title = "Untitled" 123 123 if hasattr(data,"title"): 124 124 title = str(data.title.lstrip().rstrip()) … … 167 167 data_qmin = min (self._data.x) 168 168 data_qmax = max (self._data.x) 169 print "set_current_data",self.data_cbbox.GetCount() 169 170 if data.name not in self.data_cbbox.GetItems(): 170 171 self.data_cbbox.Insert(pos=0, clientData=(data, None), … … 215 216 self.state = IState() 216 217 else: 217 if not self.set_current_data(data ):218 if not self.set_current_data(data, path=None): 218 219 return 219 220 self.new_state = True
Note: See TracChangeset
for help on using the changeset viewer.