getUnits from active profile not interface

This commit is contained in:
Milos Kozak 2017-10-19 19:23:19 +02:00
parent b53970fcd7
commit 0b7832ec60

View file

@ -961,7 +961,7 @@ public class ConfigBuilderPlugin implements PluginBase, PumpInterface, Constrain
}
public String getProfileUnits() {
return activeProfile.getUnits();
return getProfile().getUnits();
}
public Profile getProfile(long time) {