Ignore:
Timestamp:
Nov 17, 2017 8:59:52 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
0261bc1
Parents:
84df556
Message:

Implemented hash method for certain QStandardItem objects, allowing them to be used as dict keys. SASVIEW-806
Minor inversion perspective fixes. SASVIEW-338

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataExplorer.py

    rd4881f6a r6a3e1fe  
    10341034 
    10351035        # Top-level item: checkbox with label 
    1036         checkbox_item = QtGui.QStandardItem(True) 
     1036        checkbox_item = GuiUtils.HashableStandardItem() 
    10371037        checkbox_item.setCheckable(True) 
    10381038        checkbox_item.setCheckState(QtCore.Qt.Checked) 
     
    10401040 
    10411041        # Add the actual Data1D/Data2D object 
    1042         object_item = QtGui.QStandardItem() 
     1042        object_item = GuiUtils.HashableStandardItem() 
    10431043        object_item.setData(data) 
    10441044 
Note: See TracChangeset for help on using the changeset viewer.