diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-06-01 18:30:02 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-06-01 18:30:02 +0000 |
commit | 80cdc8b85594c6b0522fc3791bf9a7535e0577df (patch) | |
tree | d6e1cc9001dd2df54d679f2aae1e89d361f641bd /java/src/IceGridGUI/Application/NodeEditor.java | |
parent | Added thead notification callbacks (diff) | |
download | ice-80cdc8b85594c6b0522fc3791bf9a7535e0577df.tar.bz2 ice-80cdc8b85594c6b0522fc3791bf9a7535e0577df.tar.xz ice-80cdc8b85594c6b0522fc3791bf9a7535e0577df.zip |
Fixed bug #733: field trimming
Diffstat (limited to 'java/src/IceGridGUI/Application/NodeEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/NodeEditor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/NodeEditor.java b/java/src/IceGridGUI/Application/NodeEditor.java index 74236e9f2da..b85812f439a 100755 --- a/java/src/IceGridGUI/Application/NodeEditor.java +++ b/java/src/IceGridGUI/Application/NodeEditor.java @@ -51,7 +51,7 @@ class NodeEditor extends Editor _target.destroy(); // just removes the child
try
{
- nodes.tryAdd(_name.getText(), descriptor);
+ nodes.tryAdd(_name.getText().trim(), descriptor);
}
catch(UpdateFailedException e)
{
@@ -217,7 +217,7 @@ class NodeEditor extends Editor NodeDescriptor descriptor = (NodeDescriptor)_target.getDescriptor();
descriptor.description = _description.getText();
descriptor.variables = _variables.get();
- descriptor.loadFactor = _loadFactor.getText();
+ descriptor.loadFactor = _loadFactor.getText().trim();
}
void show(Node node)
|