Browse Source

clear search string when refreshing the list

Scott Brogden 9 years ago
parent
commit
e9a19898c1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      QPasteWnd.cpp

+ 5 - 1
QPasteWnd.cpp

@@ -1043,8 +1043,12 @@ LRESULT CQPasteWnd::OnRefreshView(WPARAM wParam, LPARAM lParam)
 
 	theApp.m_FocusID = -1;
 
+	m_bHandleSearchTextChange = false;
+	m_search.SetWindowText(_T(""));
+	m_bHandleSearchTextChange = true;
+
 	if(theApp.m_bShowingQuickPaste)
-	{		
+	{	
 		FillList();
 		action = _T("Filled List");
 	}