Ignore:
Timestamp:
10/21/13 15:45:42 (6 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Initialize the widget's blocking state.

File:
1 edited

Legend:

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

    r11726 r11741  
    274274                     SIGNAL("blockingStateChanged(bool)"), 
    275275                     self.__on_blocking_state_changed) 
     276 
     277        if widget.isBlocking(): 
     278            # A widget can already enter blocking state in __init__ 
     279            self.__widget_processing_state[widget] |= self.BlockingUpdate 
    276280 
    277281        # Install a help shortcut on the widget 
Note: See TracChangeset for help on using the changeset viewer.