diff --git a/src/widget.cpp b/src/widget.cpp index f89ec12132..53d8a77d8c 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -782,6 +782,7 @@ NWidgetCore::NWidgetCore(WidgetType tp, Colours colour, uint fill_x, uint fill_y this->index = -1; this->widget_data = widget_data; this->tool_tip = tool_tip; + this->scrollbar_index = -1; } /**