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) => {
|
Ok(downloaded) => {
|
||||||
// Select downloaded version
|
// Select downloaded version
|
||||||
if !downloaded.is_empty() {
|
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 {
|
sender.input(AppMsg::UpdateLauncherState {
|
||||||
perform_on_download_needed: false,
|
perform_on_download_needed: false,
|
||||||
|
|
Loading…
Reference in a new issue