mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue