Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-05-14 04:57:48 -0400
committerTobias Schwarz2013-05-14 04:57:48 -0400
commitdd58eae92c142703abc2d8f5e84255c53ad627f5 (patch)
tree96ad478fad7de424a7b3db54bee7f79d51d20a17
parentc8c49273998743ced73149fbc56648431dfd6cbb (diff)
downloadorg.eclipse.tcf-dd58eae92c142703abc2d8f5e84255c53ad627f5.tar.gz
org.eclipse.tcf-dd58eae92c142703abc2d8f5e84255c53ad627f5.tar.xz
org.eclipse.tcf-dd58eae92c142703abc2d8f5e84255c53ad627f5.zip
Target Explorer: fix section name generation
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
index 6131fe1cb..fd6119a77 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/src/org/eclipse/tcf/te/ui/dialogs/AbstractSectionDialog.java
@@ -154,7 +154,7 @@ public abstract class AbstractSectionDialog extends CustomTitleAreaDialog implem
Class<?> enclosing = getClass().getEnclosingClass();
while ((name == null || name.trim().length() == 0) && enclosing != null) {
name = enclosing.getSimpleName();
- enclosing = getClass().getEnclosingClass();
+ enclosing = enclosing.getEnclosingClass();
}
return (name != null && name.trim().length() > 0) ? name : "SectionDialog"; //$NON-NLS-1$

Back to the top