Changeset cee5c78 in sasview for src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
- Timestamp:
- Nov 9, 2017 8:41:55 AM (7 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:
- 7fb471d
- Parents:
- b3e8629
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/27/17 03:42:57)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:41:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py
- Property mode changed from 100755 to 100644
rb3e8629 rcee5c78 297 297 298 298 # Add the plot to the model item 299 # variant_item = QtCore.QVariant(self._plotter)300 variant_item = QtCore.QVariant(extrapolated_data)301 302 299 # This needs to run in the main thread 303 300 reactor.callFromThread(GuiUtils.updateModelItemWithPlot, 304 self._model_item, variant_item, title)301 self._model_item, extrapolated_data, title) 305 302 306 303 if self._high_extrapolate: … … 322 319 323 320 # Add the plot to the model item 324 # variant_item = QtCore.QVariant(self._plotter)325 variant_item = QtCore.QVariant(high_out_data)326 321 # This needs to run in the main thread 327 322 reactor.callFromThread(GuiUtils.updateModelItemWithPlot, 328 self._model_item, variant_item, title)323 self._model_item, high_out_data, title) 329 324 330 325 item = QtGui.QStandardItem(str(float('%.5g'% volume_fraction))) … … 561 556 # Extract data on 1st child - this is the Data1D/2D component 562 557 data = GuiUtils.dataFromItem(self._model_item) 563 self.model.item(WIDGETS.W_FILENAME).setData( QtCore.QVariant(self._model_item.text()))558 self.model.item(WIDGETS.W_FILENAME).setData(self._model_item.text()) 564 559 565 560 ##### DEBUG ####
Note: See TracChangeset
for help on using the changeset viewer.