Skip to content

Commit bd46f92

Browse files
authored
fix(wallpaper): Settings reset on entering page (#1256)
1 parent f7d1641 commit bd46f92

File tree

1 file changed

+1
-3
lines changed
  • cosmic-settings/src/pages/desktop/wallpaper

1 file changed

+1
-3
lines changed

cosmic-settings/src/pages/desktop/wallpaper/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,7 @@ impl Page {
976976
}
977977
}
978978
}
979-
WallpaperEvent::Loaded => {
980-
self.select_first_wallpaper();
981-
}
979+
WallpaperEvent::Loaded => self.cache_display_image(),
982980
WallpaperEvent::Error(error) => {
983981
tracing::error!("Failed to load wallpaper: {}", error);
984982
}

0 commit comments

Comments
 (0)