mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Refactoring for PR #499, part 2
This commit is contained in:
@@ -16,7 +16,6 @@ using KeyEventArgs = System.Windows.Input.KeyEventArgs;
|
||||
using MessageBox = System.Windows.MessageBox;
|
||||
using Wox.ViewModel;
|
||||
using Wox.Plugin;
|
||||
using Wox.Extensions;
|
||||
|
||||
namespace Wox
|
||||
{
|
||||
@@ -77,7 +76,7 @@ namespace Wox
|
||||
}
|
||||
else if(eve.PropertyName == "IsVisible")
|
||||
{
|
||||
if (vm.WindowVisibility.IsVisible())
|
||||
if (vm.MainWindowVisibility.IsVisible())
|
||||
{
|
||||
tbQuery.Focus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user