Fixed bug where properties couldn't be set on model till model was shown

This commit is contained in:
Jonathan Frederic 2013-10-17 06:51:36 +00:00
parent dde9018ab3
commit cb7eb8354f

View File

@ -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()