[commit] r1895 - trunk/GME/ObjectInspector
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue Apr 17 16:36:29 CDT 2012
Author: ksmyth
Date: Tue Apr 17 16:36:29 2012
New Revision: 1895
Log:
Fix Preference display for undefined (not defined in meta, archetype, HERE)
Modified:
trunk/GME/ObjectInspector/Preference.cpp
Modified: trunk/GME/ObjectInspector/Preference.cpp
==============================================================================
--- trunk/GME/ObjectInspector/Preference.cpp Tue Apr 17 16:36:18 2012 (r1894)
+++ trunk/GME/ObjectInspector/Preference.cpp Tue Apr 17 16:36:29 2012 (r1895)
@@ -515,7 +515,7 @@
CString strRegValue;
int status = GetRegistryValue(ccpMgaFCO,strCurrPath,strRegValue);
- if (status == ATTSTATUS_INVALID)
+ if (status == ATTSTATUS_INVALID || status == ATTSTATUS_UNDEFINED)
{
// get default value from table
objtype_enum oeType;
@@ -661,6 +661,9 @@
{
strRegValue=_T("");
}
+ else if (lRegNodeStatus == ATTSTATUS_UNDEFINED)
+ {
+ }
else
{
ASSERT((_T("Undocumented(and undesired) MGA feature"),false));
More information about the gme-commit
mailing list