Remove stray voice language dropdown when not applicable
This commit is contained in:
@@ -392,10 +392,13 @@ FirmwareVariant AppPreferencesDialog::getFirmwareVariant()
|
||||
id += QString("-") + cb->text();
|
||||
}
|
||||
}
|
||||
if (! firmware->getCapability(MultiLangVoice)) {
|
||||
if (voice) {
|
||||
if (ui->voiceCombo->count() && (voice || firmware->voice))
|
||||
id += QString("-tts") + ui->voiceCombo->currentText();
|
||||
}
|
||||
else {
|
||||
hideVoice();
|
||||
}
|
||||
if (ui->langCombo->count())
|
||||
id += QString("-") + ui->langCombo->currentText();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user