mirror of https://github.com/BOINC/boinc.git
Mgr: Ignore GetSelectedItemCount()if message count <= 0 to fix crash bug.
svn path=/trunk/boinc/; revision=16021
This commit is contained in:
parent
59b5bbf772
commit
7613de71d3
|
@ -454,6 +454,7 @@ void CViewMessages::UpdateSelection() {
|
|||
|
||||
pGroup = m_TaskGroups[0];
|
||||
int n = m_pListPane->GetSelectedItemCount();
|
||||
if (m_iTotalDocCount <= 0) n = 0;
|
||||
|
||||
if (n > 0) {
|
||||
m_pTaskPane->EnableTask(pGroup->m_Tasks[BTN_COPYSELECTED]);
|
||||
|
|
Loading…
Reference in New Issue