diff --git a/src/InvLock/LockWindow.xaml.cs b/src/InvLock/LockWindow.xaml.cs index 02c9615..67c4750 100644 --- a/src/InvLock/LockWindow.xaml.cs +++ b/src/InvLock/LockWindow.xaml.cs @@ -146,18 +146,19 @@ public partial class LockWindow : Window { Dispatcher.Invoke(() => { + suppressInput = false; + if (settings.HideWindows) { RestoreWindows(); } + isOpen = true; + textBlock.Text = settings.UnlockText; textBlock.Stroke = (Brush)FindResource("PaletteGreenBrush"); Animation(); - - isOpen = true; - suppressInput = false; }); } }