diff options
author | David Robillard <d@drobilla.net> | 2014-08-30 22:58:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-30 22:58:20 +0000 |
commit | e3ecb2b439bd03d27b5e11efe430c24f0ebe6283 (patch) | |
tree | ddb860a00e0799a329aedc5d812c1012eb4d73ac /src/gui/GraphBox.cpp | |
parent | 03be139a8b4c3872bb5da0612a8e443bfb1409a2 (diff) | |
download | ingen-e3ecb2b439bd03d27b5e11efe430c24f0ebe6283.tar.gz ingen-e3ecb2b439bd03d27b5e11efe430c24f0ebe6283.tar.bz2 ingen-e3ecb2b439bd03d27b5e11efe430c24f0ebe6283.zip |
Disable sprung layout initially.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5461 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r-- | src/gui/GraphBox.cpp | 4 |
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); } |