From bd79e955cafe028b91f71606e664ea89b5dc4fbe 2014-01-16 10:55:58 From: Jonathan Frederic <jdfreder@calpoly.edu> Date: 2014-01-16 10:55:58 Subject: [PATCH] Fixed bug where properties couldn't be set on model till model was shown --- diff --git a/IPython/html/widgets/widget.py b/IPython/html/widgets/widget.py index bc9696b..85cf02c 100644 --- a/IPython/html/widgets/widget.py +++ b/IPython/html/widgets/widget.py @@ -115,7 +115,7 @@ class Widget(LoggingConfigurable): def _handle_property_changed(self, name, old, new): - if not self._property_lock: + if not self._property_lock and self.comm is not None: # TODO: Validate properties. # Send new state to frontend self.send_state()