From 127d80d3f5d99943f3cc2e9b85465d4b63388b43 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 19 Jan 2009 21:11:51 +0000 Subject: (svn r15153) -Fix (r15126): the scrollbar's "count" wasn't always correctly set --- src/network/network_content_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 1de6faaf4..fec971f2a 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -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++) { -- cgit v1.2.3-70-g09d2