use profilename of currently active profile

This commit is contained in:
Sebastian Lenz 2018-09-14 01:00:19 +02:00
parent 3260bbfdfd
commit b02921b23f

View file

@ -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);