Ignore:
Timestamp:
11/13/12 18:08:32 (17 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Showing the dynamic link state in the canvas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/canvas/scene.py

    r11181 r11182  
    357357 
    358358        item.setEnabled(scheme_link.enabled) 
    359  
    360359        scheme_link.enabled_changed.connect(item.setEnabled) 
     360 
     361        if scheme_link.is_dynamic(): 
     362            item.setDynamic(True) 
     363            item.setDynamicEnabled(scheme_link.dynamic_enabled) 
     364            scheme_link.dynamic_enabled_changed.connect(item.setDynamicEnabled) 
    361365 
    362366        self.add_link_item(item) 
Note: See TracChangeset for help on using the changeset viewer.