1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Fill out url field on official Square Enix lobbies

This actually does nothing functionally, since the game fills out the
 lobby URL for you on launch - but it does make the settings look a bit
nicer.
This commit is contained in:
Joshua Goins 2022-03-16 10:02:28 -04:00
parent fb65e7e6e9
commit c460f2d956

View file

@ -486,7 +486,11 @@ void SettingsWindow::reloadControls() {
encryptArgumentsBox->setChecked(profile.encryptArguments);
serverType->setCurrentIndex(profile.isSapphire ? 1 : 0);
lobbyServerURL->setEnabled(profile.isSapphire);
lobbyServerURL->setText(profile.lobbyURL);
if(profile.isSapphire) {
lobbyServerURL->setText(profile.lobbyURL);
} else {
lobbyServerURL->setText("neolobby0X.ffxiv.com");
}
rememberUsernameBox->setChecked(profile.rememberUsername);
rememberPasswordBox->setChecked(profile.rememberPassword);
gameLicenseBox->setCurrentIndex((int)profile.license);