mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
rbutil: Don't try to install voice file if it's not available.
Change-Id: I42f70d6cf76298216bb626fd0fe760c0ce0a9835
This commit is contained in:
parent
0d2257d1f7
commit
1a3d12ceea
1 changed files with 28 additions and 28 deletions
|
|
@ -506,7 +506,7 @@ void SelectiveInstallWidget::installFonts(void)
|
||||||
|
|
||||||
void SelectiveInstallWidget::installVoicefile(void)
|
void SelectiveInstallWidget::installVoicefile(void)
|
||||||
{
|
{
|
||||||
if(ui.voiceCheckbox->isChecked()) {
|
if(ui.voiceCheckbox->isChecked() && ui.voiceCheckbox->isEnabled()) {
|
||||||
LOG_INFO() << "installing Voice file";
|
LOG_INFO() << "installing Voice file";
|
||||||
QString lang = ui.voiceCombobox->currentData().toString();
|
QString lang = ui.voiceCombobox->currentData().toString();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue