mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-22 21:02:44 +03:00
fix: fixed downloaded wine version selection on "download wine" button
Instead it was selecting wine group name by mistake
This commit is contained in:
parent
57dce12d0d
commit
fcab428cb4
1 changed files with 2 additions and 2 deletions
|
@ -1100,9 +1100,9 @@ impl SimpleComponent for App {
|
|||
Ok(downloaded) => {
|
||||
// Select downloaded version
|
||||
if !downloaded.is_empty() {
|
||||
config.game.wine.selected = Some(downloaded[0].name.clone());
|
||||
config.game.wine.selected = Some(downloaded[0].versions[0].name.clone());
|
||||
|
||||
config::update(config.clone());
|
||||
config::update(config);
|
||||
|
||||
sender.input(AppMsg::UpdateLauncherState {
|
||||
perform_on_download_needed: false,
|
||||
|
|
Loading…
Reference in a new issue