can pop an unexisted property
This commit is contained in:
parent
cc58a3f5c3
commit
80881875b2
|
@ -683,9 +683,10 @@ class TiramisuContextProperty(TiramisuContext):
|
||||||
@count
|
@count
|
||||||
def pop(self, prop):
|
def pop(self, prop):
|
||||||
props = self.get()
|
props = self.get()
|
||||||
props.remove(prop)
|
if prop in props:
|
||||||
self.set(frozenset(props))
|
props.remove(prop)
|
||||||
self.config_bag.setting_properties = self.config_bag.config.cfgimpl_get_settings().get_context_properties()
|
self.set(frozenset(props))
|
||||||
|
self.config_bag.setting_properties = self.config_bag.config.cfgimpl_get_settings().get_context_properties()
|
||||||
|
|
||||||
@count
|
@count
|
||||||
def get(self):
|
def get(self):
|
||||||
|
|
Loading…
Reference in New Issue