From e3ecb2b439bd03d27b5e11efe430c24f0ebe6283 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Aug 2014 22:58:20 +0000 Subject: Disable sprung layout initially. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5461 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphBox.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/GraphBox.cpp') 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 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); } -- cgit v1.2.1