From b02921b23f9776e2296002a64fbd9e17a8301c04 Mon Sep 17 00:00:00 2001 From: Sebastian Lenz Date: Fri, 14 Sep 2018 01:00:19 +0200 Subject: [PATCH] use profilename of currently active profile --- .../androidaps/plugins/Overview/Dialogs/WizardDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/WizardDialog.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/WizardDialog.java index ceee689f93..ed66fe7b2f 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/WizardDialog.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/WizardDialog.java @@ -480,7 +480,7 @@ public class WizardDialog extends DialogFragment implements OnClickListener, Com Profile specificProfile; if (selectedAlternativeProfile.equals(MainApp.gs(R.string.active))) { specificProfile = ProfileFunctions.getInstance().getProfile(); - selectedAlternativeProfile = MainApp.getConfigBuilder().getActiveProfileInterface().getProfileName(); + selectedAlternativeProfile = ProfileFunctions.getInstance().getProfileName(); } else specificProfile = profileStore.getSpecificProfile(selectedAlternativeProfile);