Revert no longer necessary
This commit is contained in:
parent
8ffe522f53
commit
3145934efc
1 changed files with 0 additions and 6 deletions
|
@ -129,11 +129,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void RevertIfNotSaved()
|
|
||||||
{
|
|
||||||
Program.ReloadConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
private async void Cancel_OnClick(object sender, RoutedEventArgs e)
|
private async void Cancel_OnClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (ViewModel.IsModified)
|
if (ViewModel.IsModified)
|
||||||
|
@ -152,7 +147,6 @@ namespace Ryujinx.Ava.UI.Windows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RevertIfNotSaved();
|
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue