Jonas Sourlier 2022-10-25 13:14:59 +02:00
parent 75907928d7
commit bb0f679c6b
2 changed files with 8 additions and 2 deletions

View file

@ -90,9 +90,12 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
Activate();
if (forward)
{
if (ApplicationStackPanel.Children.Count > 0)
{
SetFocusWithin(ApplicationStackPanel.Children[0]);
}
}
else
{
QuitButton.Focus();

View file

@ -89,9 +89,12 @@ namespace SafeExamBrowser.UserInterface.Mobile.Windows
Activate();
if (fromTop)
{
if (ApplicationStackPanel.Children.Count > 0)
{
ApplicationStackPanel.Children[0].Focus();
}
}
else
{
QuitButton.Focus();