diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ruffyscripter/commands/ReadHistoryCommand.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ruffyscripter/commands/ReadHistoryCommand.java index a558fbddcd..1cf5b86e28 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ruffyscripter/commands/ReadHistoryCommand.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ruffyscripter/commands/ReadHistoryCommand.java @@ -58,9 +58,9 @@ public class ReadHistoryCommand extends BaseCommand { } } - if (request.pumpErrorHistory == PumpHistoryRequest.SKIP - && request.tddHistory == PumpHistoryRequest.SKIP - && request.tbrHistory == PumpHistoryRequest.SKIP) { + if (request.pumpErrorHistory != PumpHistoryRequest.SKIP + || request.tddHistory != PumpHistoryRequest.SKIP + || request.tbrHistory != PumpHistoryRequest.SKIP) { // error history scripter.pressMenuKey(); scripter.verifyMenuIsDisplayed(MenuType.ERROR_DATA);