Changeset 7931:f22becd7c1b8 in orange


Ignore:
Timestamp:
05/23/11 17:12:45 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
4913553a75c1f6372975340196dbd4fa7902639f
Message:

Call callbackOnComplete on finishedEditing() signal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWGUIEx.py

    r7930 r7931  
    163163        QObject.connect(self.listWidget, SIGNAL("itemClicked (QListWidgetItem *)"), self.doneCompletion) 
    164164         
     165        QObject.connect(self, SIGNAL("editingFinished()"), lambda : self.callbackOnComplete() if self.callbackOnComplete else None) 
     166         
    165167    def setItems(self, items): 
    166168        if items: 
Note: See TracChangeset for help on using the changeset viewer.