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:
parent
57798503da
commit
c907ed11d8
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue