add layout to object view

This commit is contained in:
Torsten Ruger 2015-08-25 09:57:08 +02:00
parent 85e099382d
commit ee788b3507
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ class ObjectView < ListView
object = Virtual.machine.objects[@object_id]
fields = []
if object and ! object.is_a?(String)
fields << RefView.new( "layout" , object.get_layout.object_id , @z )
object.get_instance_variables.each do |variable|
f = object.get_instance_variable(variable)
fields << RefView.new( variable , f.object_id , @z )