mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Mackie Control: Use selected device's info when building the Keys dialog
The device info file allows key names and values to be configured in each device file. Use that information when building the Functions Keys tab in the Mackie protocol setup dialog.
This commit is contained in:
parent
899ffa3b23
commit
8cf7204917
1 changed files with 3 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ MackieControlProtocolGUI::refresh_function_key_editor ()
|
|||
|
||||
TreeModel::Row row;
|
||||
DeviceProfile dp (_cp.device_profile());
|
||||
DeviceInfo di;
|
||||
DeviceInfo di (_cp.device_info());
|
||||
|
||||
for (int n = 0; n < Mackie::Button::FinalGlobalButton; ++n) {
|
||||
|
||||
|
|
@ -734,6 +734,8 @@ MackieControlProtocolGUI::device_changed ()
|
|||
_device_dependent_widget->show_all ();
|
||||
|
||||
table.attach (*_device_dependent_widget, 0, 12, device_dependent_row, device_dependent_row+1, AttachOptions(0), AttachOptions(0), 0, 0);
|
||||
|
||||
refresh_function_key_editor ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue