Skip to content

Commit

Permalink
fix window not activating when created
Browse files Browse the repository at this point in the history
  • Loading branch information
hexadezi committed Jan 20, 2022
1 parent 9f5fd8a commit b94c1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TraderForPoe/MainWindow.xaml.cs
Expand Up @@ -329,6 +329,7 @@ void OpenWindow<T>(bool topMost = false) where T : Window, new()
T newwindow = new T();
newwindow.Topmost = topMost;
newwindow.Show();
newwindow.Activate();
}
}
private void CMenu_Settings(object sender, EventArgs e)
Expand Down

0 comments on commit b94c1d5

Please sign in to comment.