Fixed gamescope switcher's state loading from config
This commit is contained in:
parent
3bb1688e59
commit
6e2ca304ff
1 changed files with 3 additions and 0 deletions
|
@ -285,6 +285,9 @@ impl App {
|
||||||
// Gamemode switching
|
// Gamemode switching
|
||||||
self.widgets.gamemode_switcher.set_state(config.game.enhancements.gamemode);
|
self.widgets.gamemode_switcher.set_state(config.game.enhancements.gamemode);
|
||||||
|
|
||||||
|
// Switch gamescope option
|
||||||
|
self.widgets.gamescope_switcher.set_state(config.game.enhancements.gamescope.enabled);
|
||||||
|
|
||||||
// Prepare gamescope settings app
|
// Prepare gamescope settings app
|
||||||
self.widgets.gamescope_app.prepare(status_page)?;
|
self.widgets.gamescope_app.prepare(status_page)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue