Skip to content

Commit

Permalink
Wait for user to close Virtual Desktop warning dialog before starting
Browse files Browse the repository at this point in the history
Otherwise the warning can get burried under autostart config dialog and
game window.
  • Loading branch information
keton committed Jan 16, 2024
1 parent 218b1c1 commit 5b05203
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UEVR/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -685,13 +685,13 @@ private void Check_VirtualDesktop() {
}

private void MainWindow_Update() {
Update_InjectorConnectionStatus();
Update_InjectStatus();

if (m_virtualDesktopChecked == false) {
m_virtualDesktopChecked = true;
Check_VirtualDesktop();
}

Update_InjectorConnectionStatus();
Update_InjectStatus();
}

private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) {
Expand Down

0 comments on commit 5b05203

Please sign in to comment.