assembly: AsmElement sync ShowCS option on creating/loading

This commit is contained in:
Zheng, Lei 2019-05-31 10:08:33 +08:00
parent a55177d7f2
commit c497ef8aed

View File

@ -985,6 +985,7 @@ class ViewProviderAsmElement(ViewProviderAsmOnTop):
def attach(self,vobj): def attach(self,vobj):
super(ViewProviderAsmElement,self).attach(vobj) super(ViewProviderAsmElement,self).attach(vobj)
vobj.OnTopWhenSelected = 2 vobj.OnTopWhenSelected = 2
self.setupAxis()
def getDefaultColor(self): def getDefaultColor(self):
return (60.0/255.0,1.0,1.0) return (60.0/255.0,1.0,1.0)