This commit is contained in:
bao-qian
2016-07-20 23:37:06 +01:00
parent 206532f195
commit 3b53527e9e
3 changed files with 22 additions and 6 deletions

View File

@@ -235,7 +235,11 @@ namespace Wox
private void OnTextChanged(object sender, TextChangedEventArgs e)
{
QueryTextBox.CaretIndex = QueryTextBox.Text.Length;
if (_viewModel.QueryTextCursorMovedToEnd)
{
QueryTextBox.CaretIndex = QueryTextBox.Text.Length;
_viewModel.QueryTextCursorMovedToEnd = false;
}
}
}
}