[commit] r1465 - trunk/GME/ObjectInspector

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Aug 4 15:36:27 CDT 2011


Author: ksmyth
Date: Thu Aug  4 15:36:27 2011
New Revision: 1465

Log:
Fix flashing of "For Kind" checkbox

Modified:
   trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp

Modified: trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp
==============================================================================
--- trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp	Thu Aug  4 15:35:58 2011	(r1464)
+++ trunk/GME/ObjectInspector/ObjectInspectorCtl.cpp	Thu Aug  4 15:36:27 2011	(r1465)
@@ -552,12 +552,10 @@
 		if(nCount==0)
 		{
 			m_inspectorDlg.ShowPanel(INSP_PREF_PANEL,false);
-			m_inspectorDlg.GetDlgItem(IDC_CHECK_KIND)->EnableWindow(false);
 		}
 		else
 		{
 			m_inspectorDlg.ShowPanel(INSP_PREF_PANEL,true);
-			m_inspectorDlg.GetDlgItem(IDC_CHECK_KIND)->EnableWindow(true);
 		}
 
 		m_Preference.CreateList(m_FCOList);
@@ -782,6 +780,7 @@
 
 		// Send message to UI
 		PropagateMgaMessages();
+		return;
 	}
 
 	else if(event==GLOBALEVENT_ABORT_TRANSACTION)


More information about the gme-commit mailing list