BUG: fix for 4028 fix scroll after delete
This commit is contained in:
parent
93002a4400
commit
9e97f7f684
@ -736,6 +736,12 @@ void CPropertyList::OnDelete()
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user