Commit bfd48444 authored by Robert Smith's avatar Robert Smith

Fixed VIBE Key-Value pair table

Fixed a bug where importing an Item to the VIBE Key-Value pair would
cause the table in the Form to be displayed twice
Signed-off-by: Robert Smith's avatarRobert Smith <smithrw@ornl.gov>
parent e279aa4e
...@@ -622,7 +622,10 @@ public class VibeKVPair extends Item implements IReader, IWriter { ...@@ -622,7 +622,10 @@ public class VibeKVPair extends Item implements IReader, IWriter {
numsegRow.register(dependentRow); numsegRow.register(dependentRow);
} }
form.addComponent(kvTable); //Add the table to the form if it isn't already there
if(form.getComponents().size() < 2){
form.addComponent(kvTable);
}
// Return the form // Return the form
return form; return form;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment