From 11295b1e96401f2176eb04e3423378b7f2cdaeb4 Mon Sep 17 00:00:00 2001 From: TebbeUbben Date: Tue, 13 Mar 2018 20:15:58 +0100 Subject: [PATCH] Save new profile when updating it --- .../androidaps/plugins/PumpInsight/InsightPumpPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpPlugin.java index 9d08d32e0c..98785f2ff2 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpPlugin.java @@ -408,6 +408,7 @@ public class InsightPumpPlugin implements PluginBase, PumpInterface, Constraints result.success = true; result.enacted = true; result.comment = "OK"; + this.profileBlocks = profileBlocks; } else { Notification notification = new Notification(Notification.FAILED_UDPATE_PROFILE, MainApp.sResources.getString(R.string.failedupdatebasalprofile), Notification.URGENT); MainApp.bus().post(new EventNewNotification(notification));