[cmake-commits] hoffman committed PropertyList.cpp 1.29.6.1 1.29.6.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Nov 13 12:59:57 EST 2006


Update of /cvsroot/CMake/CMake/Source/MFCDialog
In directory public:/mounts/ram/cvs-serv29526/Source/MFCDialog

Modified Files:
      Tag: CMake-2-4
	PropertyList.cpp 
Log Message:
ENH: merge changes in from main tree


Index: PropertyList.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/MFCDialog/PropertyList.cpp,v
retrieving revision 1.29.6.1
retrieving revision 1.29.6.2
diff -u -d -r1.29.6.1 -r1.29.6.2
--- PropertyList.cpp	13 Oct 2006 14:52:07 -0000	1.29.6.1
+++ PropertyList.cpp	13 Nov 2006 17:59:55 -0000	1.29.6.2
@@ -736,6 +736,12 @@
   this->HideControls();
   this->SetTopIndex(0);
   InvalidateList();
+  m_curSel += 1;
+  if(m_curSel > this->GetCount())
+    {
+    m_curSel = this->GetCount();
+    }
+  this->SetCurSel(m_curSel);
 }
 
 void CPropertyList::OnHelp()



More information about the Cmake-commits mailing list