mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*CtrlLib: ArrayCtrl::Clear fixed to clear array before calling WhenSel
git-svn-id: svn://ultimatepp.org/upp/trunk@5891 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bab5d20ac6
commit
4a6a7d41cd
1 changed files with 4 additions and 2 deletions
|
|
@ -2408,11 +2408,13 @@ void ArrayCtrl::Clear() {
|
|||
if(cursor >= 0) {
|
||||
WhenKillCursor();
|
||||
cursor = -1;
|
||||
WhenCursor();
|
||||
WhenSel();
|
||||
info.Cancel();
|
||||
}
|
||||
array.Clear();
|
||||
if(cursor >= 0) {
|
||||
WhenCursor();
|
||||
WhenSel();
|
||||
}
|
||||
cellinfo.Clear();
|
||||
ln.Clear();
|
||||
ClearCache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue