diff options
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 08b1290cb..21093803e 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -465,7 +465,7 @@ public: { this->DrawWidgets(); - NWidgetCore *nwid = this->GetWidget<NWidgetCore>(this->graph_widget); + NWidgetBase *nwid = this->GetWidget<NWidgetBase>(this->graph_widget); Rect r; r.left = nwid->pos_x; r.right = nwid->pos_x + nwid->current_x - 1; |