1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[181222] for SystemResoruceSelectionInputProvider (used by file dialog) the initial connection should be set

This commit is contained in:
David McKnight 2007-04-05 17:00:18 +00:00
parent 7d4bb4f754
commit 092ed936f3

View file

@ -36,7 +36,11 @@ public abstract class SystemResourceSelectionInputProvider extends SystemAbstrac
public SystemResourceSelectionInputProvider()
{
_connection = null;
// choose random host
ISystemRegistry registry = RSEUIPlugin.getTheSystemRegistry();
IHost[] hosts = registry.getHosts();
if (hosts != null)
_connection = hosts[0];
}
public IHost getSystemConnection()