Skip to content

Commit

Permalink
Tidy up a little
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Oct 4, 2024
1 parent ec1c8bf commit 8b782ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/LegendaryDownloadProperties.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ private void SaveBtn_Click(object sender, RoutedEventArgs e)
}
}
wantedItem.downloadProperties.extraContent = selectedExtraContent;
Helpers.SaveJsonSettingsToFile(downloadManagerData, "downloadManager");
var downloadManager = LegendaryLibrary.GetLegendaryDownloadManager();
var previouslySelected = downloadManager.DownloadsDG.SelectedIndex;
for (int i = 0; i < downloadManager.downloadManagerData.downloads.Count; i++)
Expand All @@ -163,7 +162,6 @@ private void SaveBtn_Click(object sender, RoutedEventArgs e)
}
}
downloadManager.DownloadsDG.SelectedIndex = previouslySelected;
downloadManager.downloadsChanged = true;
Window.GetWindow(this).Close();
}

Expand Down

0 comments on commit 8b782ab

Please sign in to comment.