diff --git a/Wox/ViewModel/MainViewModel.cs b/Wox/ViewModel/MainViewModel.cs index 25f085b010..827c15c60d 100644 --- a/Wox/ViewModel/MainViewModel.cs +++ b/Wox/ViewModel/MainViewModel.cs @@ -629,6 +629,7 @@ namespace Wox.ViewModel this.QueryText = _textBeforeEnterContextMenuMode; this.IsActionPanelVisible = false; this.IsSearchResultPanelVisible = true; + this.CaretIndex = this.QueryText.Length; } private void DisplayQueryHistory(HistoryItem history)