Changeset 7930:37d3a95544db in orange


Ignore:
Timestamp:
05/23/11 16:03:12 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
27b82a7a83cc5e972170bde12320929764740019
Message:

Speedup of GEO Data Sets filtering (only filter on full word completion or Enter press).
Call doneCompletion in OWGUIEx.LineEditFilter when the last word is an empty string).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWGUIEx.py

    r7883 r7930  
    212212        if self.callbackOnComplete: 
    213213            QTimer.singleShot(0, self.callbackOnComplete) 
    214             #self.callbackOnComplete() 
    215  
    216214     
    217215    def textEdited(self): 
     
    219217        if self.getLastTextItem() == "":        # if we haven't typed anything yet we hide the list widget 
    220218            self.listWidget.hide() 
    221 #        else: 
    222              
     219            self.doneCompletion()  
    223220     
    224221    def getLastTextItem(self): 
Note: See TracChangeset for help on using the changeset viewer.