mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Changing soundpacks from settings take effect
This commit is contained in:
parent
9d4063b662
commit
4c56850da6
@ -136,8 +136,7 @@ class accountSettingsController(globalSettingsController):
|
|||||||
self.config["sound"]["output_device"] = "default"
|
self.config["sound"]["output_device"] = "default"
|
||||||
self.config["sound"]["volume"] = self.dialog.get_value("sound", "volumeCtrl")/100.0
|
self.config["sound"]["volume"] = self.dialog.get_value("sound", "volumeCtrl")/100.0
|
||||||
self.config["sound"]["global_mute"] = self.dialog.get_value("sound", "global_mute")
|
self.config["sound"]["global_mute"] = self.dialog.get_value("sound", "global_mute")
|
||||||
print self.dialog.sound.get("soundpack")
|
self.config["sound"]["current_soundpack"] = self.dialog.sound.get("soundpack")
|
||||||
self.config["sound"]["soundpack"] = self.dialog.sound.get("soundpack")
|
|
||||||
self.buffer.session.sound.config = self.config["sound"]
|
self.buffer.session.sound.config = self.config["sound"]
|
||||||
self.buffer.session.sound.check_soundpack()
|
self.buffer.session.sound.check_soundpack()
|
||||||
self.config["sound"]["sndup_api_key"] = self.dialog.get_value("services", "apiKey")
|
self.config["sound"]["sndup_api_key"] = self.dialog.get_value("services", "apiKey")
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
""" This module contains some bugfixes for packages used in TWBlue. We will make pull requests to the source code of these packages."""
|
""" This module contains some bugfixes for packages used in TWBlue."""
|
||||||
import fix_arrow # A few new locales for Three languages in arrow.
|
import fix_arrow # A few new locales for Three languages in arrow.
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
Loading…
Reference in New Issue
Block a user