Changeset 9251:9b83ea8a25a3 in orange


Ignore:
Timestamp:
11/23/11 13:37:39 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
333870bbe786d02c48ee491dad2e681eea3b3563
Message:

Changed setCurrentPage to setCurrentIndex (setCurrentPage is Qt3 compatibility layer and may not be present in some Qt builds).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeCanvas/orngCanvas.pyw

    r9222 r9251  
    347347                                    QAbstractItemView.PositionAtTop) 
    348348            else: 
    349                 self.tabs.setCurrentPage(barstate[0]) 
     349                self.tabs.setCurrentIndex(barstate[0]) 
    350350        if treestate and self.settings["widgetListType"] in [1, 2]: 
    351351            for i, e in enumerate(treestate[0]): 
Note: See TracChangeset for help on using the changeset viewer.