Update OptionsAdvanced.cpp

fix HideFirmwareInfo checkbox
This commit is contained in:
offhub 2024-07-22 14:49:22 +03:00 committed by GitHub
parent b2e50c90c1
commit 3fc6bd1179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -520,7 +520,7 @@ void COptionsWindow::SaveAdvanced()
WriteTextList("OnBoxTerminateDisabled", TerminateCommandDisabled);
//
WriteAdvancedCheck(ui.chkHideOtherBoxes, "HideFirmwareInfo", "y", "");
WriteAdvancedCheck(ui.chkHideFirmware, "HideFirmwareInfo", "y", "");
int CustomLCID = ui.cmbLangID->currentData().toInt();
if (CustomLCID) m_pBox->SetNum("CustomLCID", CustomLCID);
@ -1601,4 +1601,4 @@ void COptionsWindow::InitLangID()
ui.cmbLangID->addItem("Yi (ii-CN)", 1144);
ui.cmbLangID->addItem("Yoruba (yo-NG)", 1130);
ui.cmbLangID->addItem("Zulu (zu-ZA)", 1077);
}
}