diff --git a/UnrealVR/MainWindow.xaml.cs b/UnrealVR/MainWindow.xaml.cs index 73dddc7..23c839e 100644 --- a/UnrealVR/MainWindow.xaml.cs +++ b/UnrealVR/MainWindow.xaml.cs @@ -507,8 +507,8 @@ private void ImportConfig_Clicked(object sender, RoutedEventArgs e) { private bool m_virtualDesktopWarned = false; private bool m_virtualDesktopChecked = false; - private void Check_VirtualDesktop(bool checkWarn = false) { - if (checkWarn && m_virtualDesktopWarned) { + private void Check_VirtualDesktop() { + if (m_virtualDesktopWarned) { return; } @@ -859,7 +859,7 @@ private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs }; } - Check_VirtualDesktop(true); + Check_VirtualDesktop(); m_iniListView.ItemsSource = null; // Because we are switching processes. InitializeConfig(p.ProcessName);