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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index 7c8e4c1f..eaa98ee9 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -264,9 +264,7 @@ GraphBox::set_graph(SPtr<const GraphModel> graph,
graph->signal_property().connect(
sigc::mem_fun(this, &GraphBox::property_changed));
- if (_view->canvas()->supports_sprung_layout()) {
- _menu_sprung_layout->set_active(true);
- } else {
+ if (!_view->canvas()->supports_sprung_layout()) {
_menu_sprung_layout->set_active(false);
_menu_sprung_layout->set_sensitive(false);
}