diff options
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 3849d53dc..b65770cbd 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1464,7 +1464,6 @@ struct GameSettingsWindow : Window { this->InitNested(desc, 0); - this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(SETTINGSEL_OPTIONSPANEL)->current_y - SETTINGTREE_TOP_OFFSET - SETTINGTREE_BOTTOM_OFFSET) / this->resize.step_height); this->vscroll.SetCount(_settings_main_page.Length()); } |