[commit] r1193 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Feb 17 12:50:14 CST 2011


Author: ksmyth
Date: Thu Feb 17 12:50:14 2011
New Revision: 1193

Log:
Fix GME-331: sync aspects dialog has all other aspects selected in To:

Modified:
   trunk/GME/Gme/AspectSyncDlg.cpp

Modified: trunk/GME/Gme/AspectSyncDlg.cpp
==============================================================================
--- trunk/GME/Gme/AspectSyncDlg.cpp	Thu Feb 17 12:05:48 2011	(r1192)
+++ trunk/GME/Gme/AspectSyncDlg.cpp	Thu Feb 17 12:50:14 2011	(r1193)
@@ -83,9 +83,10 @@
 
 		nItem = m_dstAspectList.InsertItem(aspectCount++, metaAspect->name);
 		m_dstAspectList.SetItemData(nItem, (DWORD)metaAspect);
-
-		if (m_dstAspects.Find(metaAspect)) {
+		if (m_srcAspect != metaAspect) {
 			m_dstAspectList.SetItemState(nItem, LVIS_SELECTED, LVIS_SELECTED);
+		} else {
+			m_dstAspectList.SetItemState(nItem, LVIS_SELECTED, 0);
 		}
 	}
 


More information about the gme-commit mailing list