mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 01:55:24 +02:00
[181222] for SystemResoruceSelectionInputProvider (used by file dialog) the initial connection should be set
This commit is contained in:
parent
7d4bb4f754
commit
092ed936f3
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@ public abstract class SystemResourceSelectionInputProvider extends SystemAbstrac
|
||||||
|
|
||||||
public SystemResourceSelectionInputProvider()
|
public SystemResourceSelectionInputProvider()
|
||||||
{
|
{
|
||||||
_connection = null;
|
// choose random host
|
||||||
|
ISystemRegistry registry = RSEUIPlugin.getTheSystemRegistry();
|
||||||
|
IHost[] hosts = registry.getHosts();
|
||||||
|
if (hosts != null)
|
||||||
|
_connection = hosts[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
public IHost getSystemConnection()
|
public IHost getSystemConnection()
|
||||||
|
|
Loading…
Add table
Reference in a new issue