Merge pull request #494 from yolpsoftware/bugfix/490
fix https://github.com/SafeExamBrowser/seb-win-refactoring/issues/490
This commit is contained in:
commit
cd053e760e
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
||||||
{
|
{
|
||||||
Activate();
|
Activate();
|
||||||
|
|
||||||
if (forward)
|
if (forward && ApplicationStackPanel.Children.Count > 0)
|
||||||
{
|
{
|
||||||
SetFocusWithin(ApplicationStackPanel.Children[0]);
|
SetFocusWithin(ApplicationStackPanel.Children[0]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Windows
|
||||||
{
|
{
|
||||||
Activate();
|
Activate();
|
||||||
|
|
||||||
if (fromTop)
|
if (fromTop && ApplicationStackPanel.Children.Count > 0)
|
||||||
{
|
{
|
||||||
ApplicationStackPanel.Children[0].Focus();
|
ApplicationStackPanel.Children[0].Focus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue