EA-20733 - IOOBE: ImportFromExistingAction.execute

This commit is contained in:
Dmitry Jemerov
2010-06-15 21:13:16 +04:00
parent 86c6e3fb02
commit 00bfaef12b
@@ -77,6 +77,9 @@ public class ImportFromExistingAction implements QuestionAction {
if (!item.getFile().isValid()) return false;
if (item.getImportElement() != null && !item.getImportElement().isValid()) return false;
}
if (mySources.isEmpty()) {
return false;
}
// act
if (mySources.size() > 1) {
selectSourceAndDo();