Browse Source

fixed pasting into search bar if pasted text is larger than the displayed width

ScottBrogden 8 years ago
parent
commit
258f8c79f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      QPasteWnd.cpp

+ 1 - 1
QPasteWnd.cpp

@@ -327,7 +327,7 @@ int CQPasteWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
 
     SetWindowText(_T(QPASTE_TITLE));
 
-    m_search.Create(WS_TABSTOP | WS_CHILD | WS_VISIBLE | ES_MULTILINE, CRect(0, 0, 0, 0), this, ID_EDIT_SEARCH);
+    m_search.Create(WS_TABSTOP | WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL, CRect(0, 0, 0, 0), this, ID_EDIT_SEARCH);
 	m_search.SetPromptText(theApp.m_Language.GetString(_T("Search"), _T("Search")));
 	SetSearchImages();