log profiles if different
This commit is contained in:
parent
777aedd5db
commit
0f0f39dfb4
|
@ -409,9 +409,13 @@ public class ConfigBuilderPlugin implements PluginBase, PumpInterface, Constrain
|
|||
|
||||
@Override
|
||||
public boolean isThisProfileSet(Profile profile) {
|
||||
if (activePump != null)
|
||||
return activePump.isThisProfileSet(profile);
|
||||
else return true;
|
||||
if (activePump != null) {
|
||||
boolean result = activePump.isThisProfileSet(profile);
|
||||
if (result == false) {
|
||||
log.debug("Current profile: " + getProfile().getData().toString());
|
||||
log.debug("New profile: " + profile.getData().toString());
|
||||
}
|
||||
} else return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue