mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
push2: small change to work with a recent change in master
This commit is contained in:
parent
8fdf1669a7
commit
313a0a7e90
1 changed files with 2 additions and 3 deletions
|
|
@ -31,8 +31,7 @@
|
|||
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/filesystem_paths.h"
|
||||
|
||||
#include "evoral/midi_util.h"
|
||||
#include "ardour/parameter_descriptor.h"
|
||||
|
||||
#include "push2.h"
|
||||
#include "gui.h"
|
||||
|
|
@ -457,7 +456,7 @@ P2GUI::build_pad_table ()
|
|||
|
||||
int n = p2.pad_note (row, col);
|
||||
|
||||
Gtk::Button* b = manage (new Button (string_compose ("%1 (%2)", Evoral::midi_note_name (n), n)));
|
||||
Gtk::Button* b = manage (new Button (string_compose ("%1 (%2)", ParameterDescriptor::midi_note_name (n), n)));
|
||||
b->show ();
|
||||
|
||||
pad_table.attach (*b, col, col+1, (7-row), (8-row));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue