Browse Source

don't hide desciption window when deleting clips

sabrogden 8 years ago
parent
commit
b8934ee602
2 changed files with 5 additions and 1 deletions
  1. 1 1
      QPasteWnd.cpp
  2. 4 0
      ToolTipEx.cpp

+ 1 - 1
QPasteWnd.cpp

@@ -2687,7 +2687,7 @@ bool CQPasteWnd::DeleteClips(CClipIDs &IDs, ARRAY &Indexs)
 	m_lstHeader.SetListPos(nFirstSel);
 	UpdateStatus();
 
-	if (m_lstHeader.IsToolTipShowPersistant())
+	if (m_lstHeader.IsToolTipWindowVisible())
 	{
 		m_lstHeader.ShowFullDescription(false, true);
 	}

+ 4 - 0
ToolTipEx.cpp

@@ -425,6 +425,10 @@ BOOL CToolTipEx::OnMsg(MSG *pMsg)
 				{
 					return FALSE;
 				}
+				else if (vk == VK_DELETE)
+				{
+					return FALSE;
+				}
 
 				if (m_pToolTipActions != NULL)
 				{