betsegaw/windowwalker

Fixed a crashing bug on WindowResultSelected in WindowWalkerViewModel

crutkas opened this issue · 1 comments

I was getting a null error when i would delete the entire line then type something. this seemed to fix it. This fix is in 44ab9c5

private void WindowResultSelected()
{
if (SelectedWindowResult != null)
{
LivePreview.ActivateLivePreview(SelectedWindowResult.Result.Hwnd, Hwnd);
}
}

Interesting... I haven't been able to repro this but it doesn't hurt to have a null check on it in any case.