Fixed issue with profile not being set.

This commit is contained in:
Andrew Lalis 2024-01-18 11:10:12 -05:00
parent 788e043269
commit e17e2c55a5
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class ProfilesViewController {
private boolean openProfile(String name, boolean showPopup) {
log.info("Opening profile \"{}\".", name);
try {
PerfinApp.profileLoader.load(name);
Profile.setCurrent(PerfinApp.profileLoader.load(name));
ProfilesStage.closeView();
router.replace("accounts");
if (showPopup) Popups.message(profilesVBox, "The profile \"" + name + "\" has been loaded.");