Volshell: update display_type to handle struct members that are also python functions, e.g. write(). Thanks to @atcuno for the suggestion

This commit is contained in:
eve
2025-03-28 18:50:10 +00:00
parent e21eb57b90
commit 23f2157931
+1 -1
View File
@@ -450,7 +450,7 @@ class Volshell(interfaces.plugins.PluginInterface):
if isinstance(volobject, interfaces.objects.ObjectInterface):
# We're an instance, so also display the data
try:
value = self._display_value(getattr(volobject, member))
value = self._display_value(volobject.member(member))
except exceptions.InvalidAddressException:
value = self._display_value(renderers.NotAvailableValue())