File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
PluginsAndFeatures/azure-toolkit-for-intellij/src/main/java/com/microsoft/intellij/ui Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1515import com .intellij .util .ui .UIUtil ;
1616import com .microsoft .azure .toolkit .ide .common .store .AzureConfigInitializer ;
1717import com .microsoft .azure .toolkit .intellij .common .AzureComboBox ;
18+ import com .microsoft .azure .toolkit .intellij .connector .Password ;
1819import com .microsoft .azure .toolkit .intellij .connector .database .component .PasswordSaveComboBox ;
1920import com .microsoft .azure .toolkit .lib .Azure ;
2021import com .microsoft .azure .toolkit .lib .AzureConfiguration ;
@@ -95,6 +96,8 @@ public void setData(AzureConfiguration config) {
9596 final String passwordSaveType = config .getDatabasePasswordSaveType ();
9697 if (Objects .nonNull (passwordSaveType )) {
9798 savePasswordComboBox .setValue (new AzureComboBox .ItemReference <>(passwordSaveType , e -> e .name ().toLowerCase ()));
99+ } else {
100+ savePasswordComboBox .setValue (Password .SaveType .UNTIL_RESTART );
98101 }
99102 allowTelemetryCheckBox .setSelected (config .getTelemetryEnabled ());
100103
You can’t perform that action at this time.
0 commit comments