Fixed issue with profile not being set.
This commit is contained in:
parent
788e043269
commit
e17e2c55a5
|
@ -105,7 +105,7 @@ public class ProfilesViewController {
|
||||||
private boolean openProfile(String name, boolean showPopup) {
|
private boolean openProfile(String name, boolean showPopup) {
|
||||||
log.info("Opening profile \"{}\".", name);
|
log.info("Opening profile \"{}\".", name);
|
||||||
try {
|
try {
|
||||||
PerfinApp.profileLoader.load(name);
|
Profile.setCurrent(PerfinApp.profileLoader.load(name));
|
||||||
ProfilesStage.closeView();
|
ProfilesStage.closeView();
|
||||||
router.replace("accounts");
|
router.replace("accounts");
|
||||||
if (showPopup) Popups.message(profilesVBox, "The profile \"" + name + "\" has been loaded.");
|
if (showPopup) Popups.message(profilesVBox, "The profile \"" + name + "\" has been loaded.");
|
||||||
|
|
Loading…
Reference in New Issue