[commit] r1429 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jul 25 13:01:44 CDT 2011


Author: ksmyth
Date: Mon Jul 25 13:01:44 2011
New Revision: 1429

Log:
If run from MgaLauncher, double click means OnOK, not enable/disable

Modified:
   trunk/GME/MgaUtil/CompDlg.cpp

Modified: trunk/GME/MgaUtil/CompDlg.cpp
==============================================================================
--- trunk/GME/MgaUtil/CompDlg.cpp	Mon Jul 25 12:55:31 2011	(r1428)
+++ trunk/GME/MgaUtil/CompDlg.cpp	Mon Jul 25 13:01:44 2011	(r1429)
@@ -322,8 +322,14 @@
 		return TRUE;
 	} else if (wParam == IDC_LIST && ((NMHDR*)lParam)->code == NM_DBLCLK )
 	{
-		OnEnableDisable();
-		return TRUE;
+		if (onOKoper == _T("Interpret..."))
+		{
+			OnOK();
+			return TRUE;
+		} else {
+			OnEnableDisable();
+			return TRUE;
+		}
 	}
 	
 	return CDialog::OnNotify(wParam, lParam, pResult);


More information about the gme-commit mailing list