(svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set

This commit is contained in:
rubidium 2009-01-19 21:11:51 +00:00
parent 537112fcb1
commit 914073a30a
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,7 @@ public:
this->HideWidget(NCLWW_SELECT_UPDATE);
}
SetVScrollCount(this, this->infos.Length());
this->FindWindowPlacementAndResize(desc);
}
@ -759,6 +760,7 @@ public:
if (this->selected == NULL) this->selected = rci;
*this->infos.Append() = rci;
SetVScrollCount(this, this->infos.Length());
/* Incoming data means that we might need to reconsider dependencies */
for (ContentIterator iter = this->infos.Begin(); iter != this->infos.End(); iter++) {