Changeset 1272 for trunk


Ignore:
Timestamp:
03/25/19 15:56:55 (5 years ago)
Author:
bln4
Message:

Switched initialisation order of UserName and ProfileName.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/settings/UserSettings.java

    r1257 r1272  
    103103       
    104104        public static final IntegerSetting TitlePosition = new IntegerSetting("Position of title item in frame (TODO: find whether this is x-offset or y-offset)", "TitlePosition", 150);
    105        
    106         public static final StringSetting ProfileName = new StringSetting("Profile name", FrameIO.ConvertToValidFramesetName(System.getProperty("user.name")));
    107        
    108         public static final StringSetting UserName = new StringSetting("User name", ProfileName.get());
     105               
     106        public static final StringSetting UserName = new StringSetting("Profile name", FrameIO.ConvertToValidFramesetName(System.getProperty("user.name")));
     107       
     108        public static final StringSetting ProfileName = new StringSetting("Profile name", UserName.get());
    109109               
    110110        public static final BooleanSetting AntiAlias = new BooleanSetting("Whether anti-aliasing should be enabled", "AntiAlias", false);
Note: See TracChangeset for help on using the changeset viewer.