1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +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()
{
systemTypes = RSECorePlugin.getDefault().getRegistry().getSystemTypeNames();
setSystemTypes(RSECorePlugin.getDefault().getRegistry().getSystemTypeNames());
isRootPrompt = true;
}
/**
@ -65,7 +65,7 @@ public class SystemNewConnectionPromptObject
public SystemNewConnectionPromptObject(SystemNewConnectionPromptObject parent, String systemType)
{
this.parent = parent;
this.systemTypes = new String[] {systemType};
setSystemTypes(new String[] {systemType});
}
// ----------------------------------------------------