13
0

Update motorised button when a motorised surface's bindings are loaded.

git-svn-id: svn://localhost/ardour2/branches/3.0@11740 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-03-21 02:19:59 +00:00
parent 189257dd32
commit a4c27ff16e

View File

@ -165,6 +165,7 @@ GMCPGUI::binding_changed ()
for (list<GenericMidiControlProtocol::MapInfo>::iterator x = cp.map_info.begin(); x != cp.map_info.end(); ++x) {
if (str == x->name) {
cp.load_bindings (x->path);
motorised_button.set_active (cp.motorised ());
break;
}
}