Browse Source

fixed issue with clicking on the optios button in description window

sabrogden 6 years ago
parent
commit
d7531b3139
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ToolTipEx.cpp

+ 2 - 1
ToolTipEx.cpp

@@ -390,7 +390,8 @@ BOOL CToolTipEx::PreTranslateMessage(MSG *pMsg)
 		case WM_LBUTTONUP:
 			auto f = GetFocus();
 			if (f != NULL &&
-				m_RichEdit.m_hWnd != f->m_hWnd)
+				m_RichEdit.m_hWnd != f->m_hWnd &&
+				m_optionsButton.m_hWnd != f->m_hWnd)
 			{
 				auto p = GetParent();
 				if (p != NULL)