mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ArrayCtrl: Fixed optimization issue
git-svn-id: svn://ultimatepp.org/upp/trunk@3042 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
470fd73eda
commit
b012fd93aa
1 changed files with 2 additions and 0 deletions
|
|
@ -643,6 +643,8 @@ int ArrayCtrl::GetLineAt(int y) const {
|
|||
|
||||
Ctrl *ArrayCtrl::SyncLineCtrls(int i, Ctrl *p)
|
||||
{
|
||||
if(!hasctrls)
|
||||
return NULL;
|
||||
Size sz = GetSize();
|
||||
for(int ii = i - 1; ii >= 0 && !p; ii--)
|
||||
for(int j = column.GetCount() - 1; j >= 0; j--) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue