Commits

Mathias Kluba committed ca9f28a

another fix for sub-element of array

  • Participants
  • Parent commits 167a6d4

Comments (0)

Files changed (1)

File SOS.Net/FormMain.cs

             {
                 var selected = this.listViewFieldArray.Items[this.listViewFieldArray.SelectedIndices[0]];
 
-                string address;
-                if (textBoxObjectDumpType.Text.EndsWith("[]") || textBoxObjectDumpType.Text.Equals("SZARRAY"))
-                {
-                    address = this.textBoxObjectDumpAddress.Text;
-                }
-                else
-                {
-                    var selectedField = this.listViewObjectDump.Items[this.listViewObjectDump.SelectedIndices[0]];
-                    address = selectedField.SubItems[3].Text;
-                }
-
                 this.splitContainerObjectDumpDetails.Panel2Collapsed = true;
-                Button newInstance = CreateInstanceButton(address, selected.SubItems[0].Text);
+                Button newInstance = CreateInstanceButton(selected.SubItems[1].Text);
                 this.DisplayInstanceDetails(newInstance);
             }
         }