Ignore:
Timestamp:
04/18/13 14:09:39 (12 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Test for the presence of 'self.signalManager'.

A default global signalManager is no longer provided by OWBaseWidget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/widgets/OWKEGGPathwayBrowser.py

    r1740 r1748  
    300300            tooltip="Select the organism of the input genes") 
    301301 
    302         self.signalManager.freeze(self).push() 
     302        if self.signalManager: 
     303            self.signalManager.freeze(self).push() 
    303304 
    304305        # Selection of genes attribute 
     
    432433            self.setEnabled(True) 
    433434            self.infoLabel.setText("No data on input\n") 
    434             self.signalManager.freeze(self).pop() 
     435            if self.signalManager: 
     436                self.signalManager.freeze(self).pop() 
    435437 
    436438    def Clear(self): 
Note: See TracChangeset for help on using the changeset viewer.