Merge pull request #1431 from quizzmaster/fix_1425

Use profilename of currently active profile. Fixes #1425.
This commit is contained in:
Milos Kozak 2018-09-14 14:01:08 +02:00 committed by GitHub
commit a3295fed5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -480,7 +480,7 @@ public class WizardDialog extends DialogFragment implements OnClickListener, Com
Profile specificProfile; Profile specificProfile;
if (selectedAlternativeProfile.equals(MainApp.gs(R.string.active))) { if (selectedAlternativeProfile.equals(MainApp.gs(R.string.active))) {
specificProfile = ProfileFunctions.getInstance().getProfile(); specificProfile = ProfileFunctions.getInstance().getProfile();
selectedAlternativeProfile = MainApp.getConfigBuilder().getActiveProfileInterface().getProfileName(); selectedAlternativeProfile = ProfileFunctions.getInstance().getProfileName();
} else } else
specificProfile = profileStore.getSpecificProfile(selectedAlternativeProfile); specificProfile = profileStore.getSpecificProfile(selectedAlternativeProfile);