mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
[fix] [175153] Connection name field should not be prefilled on first invocation of New Connection wizard
This commit is contained in:
parent
548ba43cd3
commit
21878fa209
1 changed files with 6 additions and 0 deletions
|
@ -120,7 +120,13 @@ public class RSEDefaultNewConnectionWizard extends RSEAbstractNewConnectionWizar
|
|||
form.setCurrentlySelectedConnection(selectedContext);
|
||||
|
||||
if (defaultUserId != null) form.setUserId(defaultUserId);
|
||||
|
||||
// bugzilla#175153: setCurrentlySelectedConnection is filling in the name from the selected
|
||||
// connection. As this is not wanted, set the connection name field always to be empty, except
|
||||
// there had been a default connection name explicitly set from outside.
|
||||
if (defaultConnectionName != null) form.setConnectionName(defaultConnectionName);
|
||||
else form.setConnectionName(""); //$NON-NLS-1$
|
||||
|
||||
if (defaultHostName != null) form.setHostName(defaultHostName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue