рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -18,9 +18,7 @@ public class ExcludeSelectedFiles extends Pass<Vector<DBProjectFile>> {
|
||||
return false;
|
||||
}
|
||||
|
||||
target = new Vector<>();
|
||||
for (DBProjectFile file: Current.getProject().db.files.Data.values())
|
||||
if (file.isSelected()) target.add(file);
|
||||
target = Global.mainModule.getProject().db.files.getCheckedItems();
|
||||
if (target.isEmpty()){
|
||||
Log.Writeln_("Не отмечено ни одного файла.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user