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:
parent
189257dd32
commit
a4c27ff16e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user