13
0

Fix gtk-critical message when monitor section is not present

This commit is contained in:
Robin Gareus 2024-01-28 21:59:14 +01:00
parent ddbe15fd03
commit 0e824cce0b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1862,7 +1862,9 @@ Mixer_UI::redisplay_track_list ()
if (_surround_strip) {
out_packer.reorder_child (*_surround_strip, -1);
}
out_packer.reorder_child (_monitor_section.tearoff(), -1);
if (_monitor_section.tearoff ().get_parent ()) {
out_packer.reorder_child (_monitor_section.tearoff(), -1);
}
}
void