SEBWIN-611: Forgot to invoke lockscreen re-initialization on dispatcher.
This commit is contained in:
parent
2aaa74c7b0
commit
f57771fda9
1 changed files with 11 additions and 8 deletions
|
@ -69,6 +69,8 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
||||||
}
|
}
|
||||||
|
|
||||||
public void InitializeBounds()
|
public void InitializeBounds()
|
||||||
|
{
|
||||||
|
Dispatcher.Invoke(() =>
|
||||||
{
|
{
|
||||||
foreach (var window in windows)
|
foreach (var window in windows)
|
||||||
{
|
{
|
||||||
|
@ -80,6 +82,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Windows
|
||||||
Topmost = true;
|
Topmost = true;
|
||||||
WindowState = WindowState.Maximized;
|
WindowState = WindowState.Maximized;
|
||||||
Activate();
|
Activate();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void Show()
|
public new void Show()
|
||||||
|
|
Loading…
Reference in a new issue