Skip to content

Commit

Permalink
fix: fixed downloaded wine version selection on "download wine" button
Browse files Browse the repository at this point in the history
Instead it was selecting wine group name by mistake
  • Loading branch information
krypt0nn committed Mar 19, 2023
1 parent 57dce12 commit fcab428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fcab428

Please sign in to comment.