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

Disable game license combo box if using a Sapphire profile

These really only matter for official Square Enix lobbies.
This commit is contained in:
Joshua Goins 2022-04-14 16:49:13 -04:00
parent 57798503da
commit c907ed11d8

View file

@ -551,7 +551,14 @@ void SettingsWindow::reloadControls() {
} else {
useOneTimePassword->setToolTip("");
}
gameLicenseBox->setCurrentIndex((int)profile.license);
gameLicenseBox->setEnabled(!profile.isSapphire);
if(!gameLicenseBox->isEnabled()) {
gameLicenseBox->setToolTip("Game licenses only matter when logging into the official Square Enix servers.");
} else {
gameLicenseBox->setToolTip("");
}
// dalamud
enableDalamudBox->setChecked(profile.dalamud.enabled);