Ignore:
Timestamp:
11/26/13 13:08:15 (5 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Disconnect the SchemeNode from the widget when it has been removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/scheme/widgetsscheme.py

    r11757 r11772  
    194194 
    195195        self.__widgets.remove(widget) 
     196 
    196197        del self.__widget_for_node[node] 
    197198        del self.__node_for_widget[widget] 
     199 
     200        node.title_changed.disconnect(widget.setCaption) 
     201        widget.progressBarValueChanged.disconnect(node.set_progress) 
    198202 
    199203        self.widget_for_node_removed.emit(node, widget) 
Note: See TracChangeset for help on using the changeset viewer.