MGR: Fix a crash bug (I hope).

svn path=/trunk/boinc/; revision=14907
This commit is contained in:
Charlie Fenton 2008-03-13 23:12:40 +00:00
parent 815b8fc043
commit e2d8171a47
2 changed files with 8 additions and 0 deletions

View File

@ -2334,3 +2334,9 @@ David Mar 13 2008
server_types.h server_types.h
tools/ tools/
update_versions update_versions
Charlie Mar 13 2008
MGR: Hopefully fix a crash bug.
clientgui/
BOINCGridCtrl.cpp

View File

@ -215,6 +215,8 @@ void CBOINCGridCtrl::SaveSelection() {
m_arrSelectedKeys1.Add(GetCellValue(arrSelRows[i],m_pkColumnIndex1)); m_arrSelectedKeys1.Add(GetCellValue(arrSelRows[i],m_pkColumnIndex1));
if (m_pkColumnIndex2 >= 0) { if (m_pkColumnIndex2 >= 0) {
m_arrSelectedKeys2.Add(GetCellValue(arrSelRows[i],m_pkColumnIndex2)); m_arrSelectedKeys2.Add(GetCellValue(arrSelRows[i],m_pkColumnIndex2));
} else {
m_arrSelectedKeys2.Add(wxEmptyString);
} }
} }
} }