mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
push2: use vector of pads rather than map when shutting down
This commit is contained in:
parent
253dac007d
commit
cbbc6f9b84
1 changed files with 1 additions and 3 deletions
|
|
@ -449,9 +449,7 @@ Push2::init_buttons (bool startup)
|
|||
_current_layout->hide ();
|
||||
}
|
||||
|
||||
for (PadMap::iterator pi = _nn_pad_map.begin(); pi != _nn_pad_map.end(); ++pi) {
|
||||
boost::shared_ptr<Pad> pad = pi->second;
|
||||
|
||||
for (auto & pad : _xy_pad_map) {
|
||||
pad->set_color (LED::Black);
|
||||
pad->set_state (LED::OneShot24th);
|
||||
write (pad->state_msg());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue