Changeset 8548d739 in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Nov 29, 2016 6:08:29 AM (8 years ago)
- Branches:
- 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
- Children:
- ded2ce3
- Parents:
- adf81b8
- git-author:
- Piotr Rozyczko <rozyczko@…> (11/29/16 06:04:46)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/29/16 06:08:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
r31c5b58 r8548d739 275 275 276 276 # This needs to run in the main thread 277 reactor.callFromThread(GuiUtils.updateModelItem, self._model_item, variant_item, title) 277 reactor.callFromThread(GuiUtils.updateModelItemWithPlot, 278 self._model_item, variant_item, title) 278 279 279 280 if self._high_extrapolate: … … 297 298 variant_item = QtCore.QVariant(high_out_data) 298 299 # This needs to run in the main thread 299 reactor.callFromThread(GuiUtils.updateModelItem, self._model_item, variant_item, title) 300 reactor.callFromThread(GuiUtils.updateModelItemWithPlot, 301 self._model_item, variant_item, title) 300 302 301 303 item = QtGui.QStandardItem(str(float('%.5g'% volume_fraction))) … … 531 533 532 534 # Extract data on 1st child - this is the Data1D/2D component 533 data = self._model_item.child(0).data().toPyObject()535 data = GuiUtils.dataFromItem(self._model_item) 534 536 self.model.item(WIDGETS.W_FILENAME).setData(QtCore.QVariant(self._model_item.text())) 535 537
Note: See TracChangeset
for help on using the changeset viewer.