Changeset 1942:8fd077fd97ff in orange-bioinformatics for orangecontrib/bio/widgets/OWGeneInfo.py


Ignore:
Timestamp:
12/17/13 12:29:46 (4 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Use 'uniformRowHeights' tree view property for faster layout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orangecontrib/bio/widgets/OWGeneInfo.py

    r1930 r1942  
    286286        self.treeWidget.setSelectionMode(QAbstractItemView.ExtendedSelection) 
    287287        self.treeWidget.setItemDelegate(LinkStyledItemDelegate(self.treeWidget)) 
    288         #self.connect(self.treeWidget, SIGNAL("itemSelectionChanged()"), self.commitIf) 
     288        self.treeWidget.setUniformRowHeights(True) 
    289289        self.treeWidget.viewport().setMouseTracking(True) 
    290290        self.treeWidget.setSortingEnabled(True) 
Note: See TracChangeset for help on using the changeset viewer.