summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_content_gui.cpp2
1 files changed, 2 insertions, 0 deletions
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++) {