mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: ArrayCtrl::Set(int ii, const Vector<Value>&) now clears the line before setting it to remove unknown invisible columns
git-svn-id: svn://ultimatepp.org/upp/trunk@6195 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e1292ebeba
commit
b3deb0be67
1 changed files with 1 additions and 0 deletions
|
|
@ -1861,6 +1861,7 @@ bool ArrayCtrl::AcceptEnter() {
|
|||
}
|
||||
|
||||
void ArrayCtrl::Set(int i, const Vector<Value>& v) {
|
||||
array.At(i).line.Clear();
|
||||
for(int ii = 0; ii < v.GetCount(); ii++)
|
||||
Set(i, ii, v[ii]);
|
||||
InvalidateCache(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue