Browse Source

shift-paste works when searh has focus

Scott Brogden 9 years ago
parent
commit
40d5b3c04d
1 changed files with 4 additions and 9 deletions
  1. 4 9
      QPasteWnd.cpp

+ 4 - 9
QPasteWnd.cpp

@@ -3436,15 +3436,10 @@ bool CQPasteWnd::ShowProperties(int id, int row)
 
 
 bool CQPasteWnd::DoActionPasteSelectedPlainText()
 bool CQPasteWnd::DoActionPasteSelectedPlainText()
 {
 {
-	if(::GetFocus() == m_lstHeader.GetSafeHwnd())
-	{
-		CSpecialPasteOptions pasteOptions;
-		pasteOptions.m_pasteAsPlainText = true;			
-		OpenSelection(pasteOptions);
-		return true;
-	}
-
-	return false;
+	CSpecialPasteOptions pasteOptions;
+	pasteOptions.m_pasteAsPlainText = true;			
+	OpenSelection(pasteOptions);
+	return true;
 }
 }
 
 
 bool CQPasteWnd::DoActionMoveClipToGroup()
 bool CQPasteWnd::DoActionMoveClipToGroup()