Changeset 1465 for trunk


Ignore:
Timestamp:
11/29/19 15:39:09 (4 years ago)
Author:
bnemhaus
Message:

Profile names must be valid frameset names in this new world of authentication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/management/ProfileManager.java

    r1441 r1465  
    3535                        Map<String, Consumer<Frame>> notifyWhenGenerated) {
    3636                ensureDefaultProfile();
    37                 Frame profile = null;
    3837                Frame profileOne = null;
    3938                profileFor = FrameIO.ConvertToValidFramesetName(profileFor);
    4039               
    4140                try {
    42                         profile = FrameIO.CreateFrameset(profileFor, FrameIO.PROFILE_PATH, true);
     41                        Frame profile = FrameIO.CreateFrameset(profileFor, FrameIO.PROFILE_PATH, true);
    4342                        profileOne = profile;
    4443                        profile.setTitle(profileFor + "'s Profile");
     
    4645                        MessageBay.suppressMessages(true);
    4746                        UserSettings.UserName.set(profileFor);
    48                         UserSettings.ProfileName.set(profileFor);
     47                        UserSettings.ProfileName.set(FrameIO.ConvertToValidFramesetName(profileFor));
    4948                       
    5049                        int lastNumber = FrameIO.getLastNumber(defaultFrame.getFramesetName());
Note: See TracChangeset for help on using the changeset viewer.