Add context for uno controls
This commit is contained in:
parent
41342b8a59
commit
67b8e842b3
|
@ -3232,6 +3232,12 @@ class UnoBaseObject(object):
|
|||
else:
|
||||
super().__setattr__(name, value)
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
pass
|
||||
|
||||
@property
|
||||
def obj(self):
|
||||
return self._obj
|
||||
|
|
Loading…
Reference in New Issue