mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-114064 Create "From Maven" library dialog doesn't handle full coords correctly (as advertised)
This commit is contained in:
@@ -166,6 +166,7 @@ public class RepositoryAttachDialog extends DialogWrapper {
|
||||
ProjectBundle.message("file.chooser.directory.for.downloaded.libraries.description"), null,
|
||||
descriptor);
|
||||
updateInfoLabel();
|
||||
setOKActionEnabled(false);
|
||||
init();
|
||||
}
|
||||
|
||||
@@ -276,6 +277,9 @@ public class RepositoryAttachDialog extends DialogWrapper {
|
||||
}
|
||||
}
|
||||
updateComboboxSelection(prevSize != myCoordinates.size());
|
||||
// tooMany != null on last call, so enable OK action to let
|
||||
// local maven repo a chance even if all remote services failed
|
||||
setOKActionEnabled(!myRepositories.isEmpty() || tooMany != null);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user