mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +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):
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user