summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index 212e7f5b0..412f43260 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -95,8 +95,6 @@ struct SignListWindow : Window, SignList {
{
this->InitNested(desc, window_number);
- this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(SLW_LIST)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / this->resize.step_height);
-
/* Create initial list. */
this->signs.ForceRebuild();
this->signs.ForceResort();