summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r--src/gui/GraphBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 56bb45d2..571bc61a 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -197,7 +197,7 @@ GraphBox::create(App& app, const SPtr<const GraphModel>& graph)
Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create("graph_win");
xml->get_widget_derived("graph_win_vbox", result);
result->init_box(app);
- result->set_graph(graph, SPtr<GraphView>());
+ result->set_graph(graph, nullptr);
if (app.is_plugin()) {
result->_menu_close->set_sensitive(false);