summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphView.cpp')
-rw-r--r--src/gui/GraphView.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp
index 001d1faf..48056f56 100644
--- a/src/gui/GraphView.cpp
+++ b/src/gui/GraphView.cpp
@@ -58,6 +58,11 @@ GraphView::GraphView(BaseObjectType* cobject,
_canvas_scrolledwindow->property_vadjustment().get_value()->set_step_increment(10);
}
+GraphView::~GraphView()
+{
+ _canvas_scrolledwindow->remove();
+}
+
void
GraphView::init(App& app)
{