mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
[Refactor] Simplify event handler parameters in MainWindowViewModel and FileImporter
This commit is contained in:
@@ -256,7 +256,7 @@ public class MainWindowViewModel : ViewModelBase
|
||||
var window = new EditDat();
|
||||
var viewModel = new EditDatViewModel(window, SelectedRomSet);
|
||||
|
||||
viewModel.RomSetModified += (sender, args) =>
|
||||
viewModel.RomSetModified += (_, args) =>
|
||||
{
|
||||
RomSetModel old = RomSets.FirstOrDefault(r => r.Id == args.RomSet.Id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user