mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ArrayCtrl, GLCtrl fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
98108bde13
commit
83199ef495
4 changed files with 34 additions and 1 deletions
|
|
@ -1114,6 +1114,14 @@ bool ArrayCtrl::AcceptRow() {
|
|||
Column& m = column[i];
|
||||
if(m.edit && !m.edit->Accept())
|
||||
return false;
|
||||
if(IsCtrl(cursor, i)) {
|
||||
Ctrl *c = GetCtrl(cursor, i).ctrl;
|
||||
acceptingrow++;
|
||||
bool b = c->Accept();
|
||||
acceptingrow--;
|
||||
if(!b)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
for(i = 0; i < control.GetCount(); i++)
|
||||
if(!control[i].ctrl->Accept())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue