mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 10:23:38 +02:00
Don't "fail" loading speech commands if none to load
This commit is contained in:
parent
8fb1d22646
commit
55436eba9a
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void SpeechRecognizer::removeCommand(const QString& command) {
|
|||
}
|
||||
|
||||
void SpeechRecognizer::reloadCommands() {
|
||||
if (!_enabled) {
|
||||
if (!_enabled || _commands.count() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue