1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 18:25:40 +02:00

[fix] Inconsistent API usage led to internal control variable not set correctly

This commit is contained in:
Uwe Stieber 2007-02-06 15:59:40 +00:00
parent e7d2f267ca
commit 186495b744

View file

@ -56,7 +56,7 @@ public class SystemNewConnectionPromptObject
*/ */
public SystemNewConnectionPromptObject() public SystemNewConnectionPromptObject()
{ {
systemTypes = RSECorePlugin.getDefault().getRegistry().getSystemTypeNames(); setSystemTypes(RSECorePlugin.getDefault().getRegistry().getSystemTypeNames());
isRootPrompt = true; isRootPrompt = true;
} }
/** /**
@ -65,7 +65,7 @@ public class SystemNewConnectionPromptObject
public SystemNewConnectionPromptObject(SystemNewConnectionPromptObject parent, String systemType) public SystemNewConnectionPromptObject(SystemNewConnectionPromptObject parent, String systemType)
{ {
this.parent = parent; this.parent = parent;
this.systemTypes = new String[] {systemType}; setSystemTypes(new String[] {systemType});
} }
// ---------------------------------------------------- // ----------------------------------------------------