mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Fixed bug where properties couldn't be set on model till model was shown
This commit is contained in:
parent
dde9018ab3
commit
cb7eb8354f
@ -115,7 +115,7 @@ class Widget(LoggingConfigurable):
|
|||||||
|
|
||||||
|
|
||||||
def _handle_property_changed(self, name, old, new):
|
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.
|
# TODO: Validate properties.
|
||||||
# Send new state to frontend
|
# Send new state to frontend
|
||||||
self.send_state()
|
self.send_state()
|
||||||
|
Loading…
Reference in New Issue
Block a user