Commits

Aleš Erjavec  committed 80d5469

Initialize the widget's blocking state.

  • Participants
  • Parent commits 47e4c2f

Comments (0)

Files changed (1)

File Orange/OrangeCanvas/scheme/widgetsscheme.py

                      SIGNAL("blockingStateChanged(bool)"),
                      self.__on_blocking_state_changed)
 
+        if widget.isBlocking():
+            # A widget can already enter blocking state in __init__
+            self.__widget_processing_state[widget] |= self.BlockingUpdate
+
         # Install a help shortcut on the widget
         help_shortcut = QShortcut(QKeySequence("F1"), widget)
         help_shortcut.activated.connect(self.__on_help_request)