work towards removing API calls from document loading pathway
This commit is contained in:
parent
e5c2c90cb2
commit
a362c7d61d
1 changed files with 1 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ class APIObject(BaseObject):
|
|||
feature.addProperty('App::PropertyBool', 'Connected', 'KiConnect', 'Is socket connected')
|
||||
feature.addProperty('App::PropertyInteger', 'DocumentCount', 'KiConnect', 'Count of open Documnets')
|
||||
|
||||
# XXX onDocumentRestored should not be called on creation
|
||||
self.onDocumentRestored(feature)
|
||||
|
||||
self.ping_connection()
|
||||
|
|
@ -44,7 +45,6 @@ class APIObject(BaseObject):
|
|||
setattr(self, 'boards', {})
|
||||
|
||||
self.kicad = KiCad()
|
||||
self.refresh_polygons()
|
||||
|
||||
parent = feature.getParent()
|
||||
if not parent: return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue