mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Properly hide cue editors (unmap macOS GLCanvas views)
This commit is contained in:
parent
06a2b174dd
commit
8dfd116b58
1 changed files with 4 additions and 3 deletions
|
|
@ -512,16 +512,17 @@ TriggerPage::trigger_arm_changed (Trigger const * trigger)
|
|||
void
|
||||
TriggerPage::hide_all ()
|
||||
{
|
||||
_audio_trig_box.hide ();
|
||||
_midi_trig_box.hide ();
|
||||
if (_audio_editor->contents().get_parent()) {
|
||||
_audio_editor->contents().unmap ();
|
||||
_audio_editor->contents().get_parent()->remove (_audio_editor->contents());
|
||||
}
|
||||
|
||||
if (_midi_editor->contents().get_parent()) {
|
||||
_midi_editor->contents().unmap ();
|
||||
_midi_editor->contents().get_parent()->remove (_midi_editor->contents());
|
||||
}
|
||||
|
||||
_audio_trig_box.hide ();
|
||||
_midi_trig_box.hide ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue