mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-03-15 06:28:27 +03:00
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
|
||||
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
|
||||
self.widgets.gamescope_app.prepare(status_page)?;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue