commented out one line, which causes a rare bug; but I don't really
know if this isn't really needed
This commit is contained in:
parent
be8131d529
commit
5b6ea1fe01
|
@ -74,7 +74,12 @@ class volume_props(cryptobox.plugins.base.CryptoBoxPlugin):
|
||||||
"""override the parent's function
|
"""override the parent's function
|
||||||
we have to get the data from all included plugins"""
|
we have to get the data from all included plugins"""
|
||||||
for plugin in self.props_plugins:
|
for plugin in self.props_plugins:
|
||||||
plugin.load_dataset(hdf)
|
## TODO: this leads to strange behaviour if volume_props
|
||||||
|
## is configured to show itself inside itself.
|
||||||
|
## As volume_props works without this, I commented this
|
||||||
|
## out. If it is really needed, there should be a check if
|
||||||
|
## this plugin is trying to load the dataset of itself.
|
||||||
|
#plugin.load_dataset(hdf)
|
||||||
## call our parent's method
|
## call our parent's method
|
||||||
cryptobox.plugins.base.CryptoBoxPlugin.load_dataset(self, hdf)
|
cryptobox.plugins.base.CryptoBoxPlugin.load_dataset(self, hdf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue