diff --git a/checkin_notes b/checkin_notes index b05fb82dda..781131b554 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4936,7 +4936,7 @@ Charlie 25 June 2008 ViewWork.cpp,h Charlie 26 June 2008 - - MGR List View: Complete multiple settings for Tasks tab, implement all + - MGR List View: Complete multiple selections for Tasks tab, implement all features in Projects tab, save and restore sort columns and directions. clientgui/ diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index d37be19556..4fc6107f50 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -112,7 +112,7 @@ bool CBOINCListCtrl::OnSaveState(wxConfigBase* pConfig) { // Save sorting column and direction pConfig->SetPath(strBaseConfigLocation); pConfig->Write(wxT("SortColumn"), m_pParentView->m_iSortColumn); - pConfig->Write(wxT("SortAscending"), m_pParentView->m_bReverseSort); + pConfig->Write(wxT("ReverseSortOrder"), m_pParentView->m_bReverseSort); return true; } @@ -165,7 +165,7 @@ bool CBOINCListCtrl::OnRestoreState(wxConfigBase* pConfig) { // Restore sorting column and direction pConfig->SetPath(strBaseConfigLocation); - pConfig->Read(wxT("SortAscending"), &iTempValue,-1); + pConfig->Read(wxT("ReverseSortOrder"), &iTempValue,-1); if (-1 != iTempValue) { m_pParentView->m_bReverseSort = iTempValue != 0 ? true : false; }