no message
This commit is contained in:
@@ -10,13 +10,13 @@ public class SetDefaultSapforProfile extends Pass<SapforProfile> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = (SapforProfile) args[0];
|
||||
return UI.Question("Назначить профиль "+ Utils_.Brackets(target.description)+" профилем по умолчанию");
|
||||
return UI.Question("Назначить профиль " + Utils_.Brackets(target.description) + " профилем по умолчанию");
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
Vector<SapforProfile> toDrop = new Vector<>();
|
||||
for (SapforProfile sapforProfile : Global.mainModule.getDb().sapforProfiles.Data.values()) {
|
||||
if (sapforProfile.id!=target.id) {
|
||||
if (sapforProfile.id != target.id) {
|
||||
if (sapforProfile.isAuto != 0) {
|
||||
sapforProfile.isAuto = 0;
|
||||
toDrop.add(sapforProfile);
|
||||
|
||||
Reference in New Issue
Block a user