From 489d13d02f74ec6da29c8cbb51d7b71e14e8d739 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Mon, 13 Jan 2020 20:49:36 -0600 Subject: [PATCH] Save settings on log off or shutdown --- DS4Windows/App.xaml | 2 +- DS4Windows/App.xaml.cs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/DS4Windows/App.xaml b/DS4Windows/App.xaml index f84b267..fdd500c 100644 --- a/DS4Windows/App.xaml +++ b/DS4Windows/App.xaml @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:DS4WinWPF" - Startup="Application_Startup" Exit="Application_Exit" ShutdownMode="OnExplicitShutdown"> + Startup="Application_Startup" Exit="Application_Exit" ShutdownMode="OnExplicitShutdown" SessionEnding="Application_SessionEnding">