From d5245f0730b234c3f182d6a668606d7b81b18fa1 Mon Sep 17 00:00:00 2001 From: Colin Liu Date: Fri, 19 Feb 2016 22:59:01 +0800 Subject: [PATCH] Bug Fixing - The caret is not at the last of search text when switching back from context menu --- Wox/ViewModel/MainViewModel.cs | 1 + 1 file changed, 1 insertion(+) 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)