[Scummvm-git-logs] scummvm master -> 2bb04ea58d769bf4cf89021cf22c3817918875a9

ccawley2011 ccawley2011 at gmail.com
Sun Sep 6 15:24:14 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2bb04ea58d GUI: Fix changing the current text to speech voice


Commit: 2bb04ea58d769bf4cf89021cf22c3817918875a9
    https://github.com/scummvm/scummvm/commit/2bb04ea58d769bf4cf89021cf22c3817918875a9
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-09-06T16:23:57+01:00

Commit Message:
GUI: Fix changing the current text to speech voice

Changed paths:
    gui/options.cpp


diff --git a/gui/options.cpp b/gui/options.cpp
index 7177064582..533bd4e2af 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2355,12 +2355,12 @@ void GlobalOptionsDialog::apply() {
 			else {
 				ttsMan->setLanguage(newLang);
 			}
+			_ttsVoiceSelectionPopUp->setSelected(0);
 		}
 #else
 		ttsMan->setLanguage("en");
 #endif // USE_TRANSLATION
 
-		_ttsVoiceSelectionPopUp->setSelected(0);
 		int volume = (ConfMan.getInt("speech_volume", "scummvm") * 100) / 256;
 		if (ConfMan.hasKey("mute", "scummvm") && ConfMan.getBool("mute", "scummvm"))
 			volume = 0;




More information about the Scummvm-git-logs mailing list