Browse Source

fixed issue with opening properties window from menu, probably other menu items also

sabrogden 8 years ago
parent
commit
655c0eb877
2 changed files with 7 additions and 0 deletions
  1. 6 0
      QPasteWnd.cpp
  2. 1 0
      QPasteWnd.h

+ 6 - 0
QPasteWnd.cpp

@@ -2864,6 +2864,12 @@ bool CQPasteWnd::CheckActions(MSG * pMsg)
 	return ret;
 }
 
+bool CQPasteWnd::DoAction(DWORD cmd)
+{
+	CAccel a(0, cmd);
+	return DoAction(a);
+}
+
 bool CQPasteWnd::DoAction(CAccel a)
 {
 	bool ret = false;

+ 1 - 0
QPasteWnd.h

@@ -220,6 +220,7 @@ public:
 	COleDropTarget *m_pDropTarget;
 
 	bool DoAction(CAccel a);
+	bool DoAction(DWORD cmd);
 	bool DoActionShowDescription();
 	bool DoActionNextDescription(); 
 	bool DoActionPrevDescription();