Actually change the settings when they get changed in the UI
This commit is contained in:
@@ -577,7 +577,8 @@ class SublimeMusicApp(Gtk.Application):
|
||||
player_name, option_name, value = player_setting
|
||||
self.app_config.player_config[player_name][option_name] = value
|
||||
del state_updates["__player_setting__"]
|
||||
# TODO update the actual player settings
|
||||
if pm := self.player_manager:
|
||||
pm.change_settings(self.app_config.player_config)
|
||||
|
||||
for k, v in state_updates.items():
|
||||
setattr(self.app_config.state, k, v)
|
||||
|
@@ -1,5 +1,4 @@
|
||||
import logging
|
||||
import multiprocessing
|
||||
from datetime import timedelta
|
||||
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
|
||||
|
||||
|
Reference in New Issue
Block a user