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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 693d0c04..2b84b16f 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -182,6 +182,12 @@ GraphBox::create(App& app, SPtr<const GraphModel> graph)
xml->get_widget_derived("graph_win_vbox", result);
result->init_box(app);
result->set_graph(graph, SPtr<GraphView>());
+
+ if (app.is_plugin()) {
+ result->_menu_close->set_sensitive(false);
+ result->_menu_quit->set_sensitive(false);
+ }
+
return SPtr<GraphBox>(result);
}