[cmake-commits] hoffman committed PropertyList.cpp 1.30 1.31
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Nov 11 14:07:48 EST 2006
Update of /cvsroot/CMake/CMake/Source/MFCDialog
In directory public:/mounts/ram/cvs-serv11472/MFCDialog
Modified Files:
PropertyList.cpp
Log Message:
BUG: fix for 4028 fix scroll after delete
Index: PropertyList.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/MFCDialog/PropertyList.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- PropertyList.cpp 3 Oct 2006 16:21:11 -0000 1.30
+++ PropertyList.cpp 11 Nov 2006 19:07:46 -0000 1.31
@@ -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