summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-28 04:59:17 +0000
committerDavid Robillard <d@drobilla.net>2008-09-28 04:59:17 +0000
commita4d89248bfaef3af884a1d98f3de182b55726399 (patch)
tree9201856d055edff9ecc1443b595121ee4c5af4b2 /src/libs/gui/PatchWindow.cpp
parent46459ab2f46fdb826102562c266b0bc2921a3737 (diff)
downloadingen-a4d89248bfaef3af884a1d98f3de182b55726399.tar.gz
ingen-a4d89248bfaef3af884a1d98f3de182b55726399.tar.bz2
ingen-a4d89248bfaef3af884a1d98f3de182b55726399.zip
Fix #202 but in the other direction and for modules too (show symbols when that's the current configuration value).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1524 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchWindow.cpp')
-rw-r--r--src/libs/gui/PatchWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/gui/PatchWindow.cpp b/src/libs/gui/PatchWindow.cpp
index 664b06c5..d7499bfb 100644
--- a/src/libs/gui/PatchWindow.cpp
+++ b/src/libs/gui/PatchWindow.cpp
@@ -545,6 +545,10 @@ void
PatchWindow::event_human_names_toggled()
{
_view->canvas()->show_human_names(_menu_human_names->get_active());
+ if (_menu_human_names->get_active())
+ App::instance().configuration()->set_name_style(Configuration::HUMAN);
+ else
+ App::instance().configuration()->set_name_style(Configuration::PATH);
}