Ignore:
Timestamp:
04/03/12 14:12:04 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
0525d8e6ec58e73612719ccf0c347098a71a1427
Message:

Changed edit triggers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWPythonScript.py

    r10462 r10727  
    297297        self.controlBox.layout().setSpacing(1) 
    298298        self.libraryView = QListView() 
    299         self.libraryView.pyqtConfigure(editTriggers=QListView.DoubleClicked | QListView.SelectedClicked) 
     299        self.libraryView.setEditTriggers(QListView.DoubleClicked | QListView.EditKeyPressed) 
    300300        self.libraryView.setSizePolicy(QSizePolicy.Ignored, QSizePolicy.Preferred) 
    301301        self.libraryView.setItemDelegate(ScriptItemDelegate(self)) 
Note: See TracChangeset for help on using the changeset viewer.