Changeset 8106:4058e95294a1 in orange


Ignore:
Timestamp:
07/19/11 16:01:47 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
7d2ef4ac7974de019d7aa636425d3035c46e33e6
Message:

Removed signal freezing when removing a widget (due to the way signals are propagated, the downstream widgets are not informed of the signal removal). This should be fixed by proper signal queue handling to orngSignalManager (#862).

Fixes #858.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeCanvas/orngDoc.py

    r8052 r8106  
    341341            return 
    342342         
    343         with self.signalManager.freeze(): 
    344             while widget.inLines != []: self.removeLine1(widget.inLines[0]) 
    345             while widget.outLines != []:  self.removeLine1(widget.outLines[0]) 
     343        #with self.signalManager.freeze(): 
     344        while widget.inLines != []: self.removeLine1(widget.inLines[0]) 
     345        while widget.outLines != []:  self.removeLine1(widget.outLines[0]) 
    346346     
    347             self.signalManager.removeWidget(widget.instance) 
     347        self.signalManager.removeWidget(widget.instance) 
    348348             
    349349        self.widgets.remove(widget) 
Note: See TracChangeset for help on using the changeset viewer.