mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 04:57:44 +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:
parent
57798503da
commit
c907ed11d8
1 changed files with 7 additions and 0 deletions
|
@ -551,7 +551,14 @@ void SettingsWindow::reloadControls() {
|
||||||
} else {
|
} else {
|
||||||
useOneTimePassword->setToolTip("");
|
useOneTimePassword->setToolTip("");
|
||||||
}
|
}
|
||||||
|
|
||||||
gameLicenseBox->setCurrentIndex((int)profile.license);
|
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
|
// dalamud
|
||||||
enableDalamudBox->setChecked(profile.dalamud.enabled);
|
enableDalamudBox->setChecked(profile.dalamud.enabled);
|
||||||
|
|
Loading…
Add table
Reference in a new issue