1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-03 15:15:32 +00:00

Merge pull request #2991 from akortunov/launcher

Use two columns when there is too many checkboxes in launcher's tab
This commit is contained in:
Bret Curtis 2020-08-23 21:17:05 +02:00 committed by GitHub
commit 74ba6197ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 564 additions and 494 deletions

View file

@ -127,7 +127,7 @@ bool Launcher::AdvancedPage::loadSettings()
{
loadSettingBool(viewOverShoulderCheckBox, "view over shoulder", "Camera");
connect(viewOverShoulderCheckBox, SIGNAL(toggled(bool)), this, SLOT(slotViewOverShoulderToggled(bool)));
viewOverShoulderGroup->setEnabled(viewOverShoulderCheckBox->checkState());
viewOverShoulderVerticalLayout->setEnabled(viewOverShoulderCheckBox->checkState());
loadSettingBool(autoSwitchShoulderCheckBox, "auto switch shoulder", "Camera");
loadSettingBool(previewIfStandStillCheckBox, "preview if stand still", "Camera");
loadSettingBool(deferredPreviewRotationCheckBox, "deferred preview rotation", "Camera");
@ -339,5 +339,5 @@ void Launcher::AdvancedPage::slotAnimSourcesToggled(bool checked)
void Launcher::AdvancedPage::slotViewOverShoulderToggled(bool checked)
{
viewOverShoulderGroup->setEnabled(viewOverShoulderCheckBox->checkState());
viewOverShoulderVerticalLayout->setEnabled(viewOverShoulderCheckBox->checkState());
}

File diff suppressed because it is too large Load diff