mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9364
This commit is contained in:
parent
12886afe5e
commit
da650fdda8
|
@ -220,7 +220,8 @@ void CBOINCBaseView::OnListRender(wxTimerEvent& event) {
|
|||
m_pListPane->SetItemState(0, desiredstate, desiredstate);
|
||||
}
|
||||
#else
|
||||
if (m_pListPane->GetFirstSelected() < 0)
|
||||
if ((m_pListPane->GetFirstSelected() < 0) &&
|
||||
(m_pListPane->GetItemCount() >= 1))
|
||||
m_pListPane->SetItemState(0, wxLIST_STATE_FOCUSED | wxLIST_STATE_SELECTED,
|
||||
wxLIST_STATE_FOCUSED | wxLIST_STATE_SELECTED);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue