mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
prevent Session range markers from being hidden
This commit is contained in:
parent
2ef673b15e
commit
b8f883e608
1 changed files with 5 additions and 0 deletions
|
|
@ -455,6 +455,11 @@ Location::move_to (samplepos_t pos, const uint32_t sub_num)
|
||||||
void
|
void
|
||||||
Location::set_hidden (bool yn, void*)
|
Location::set_hidden (bool yn, void*)
|
||||||
{
|
{
|
||||||
|
/* do not allow session range markers to be hidden */
|
||||||
|
if (is_session_range()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (set_flag_internal (yn, IsHidden)) {
|
if (set_flag_internal (yn, IsHidden)) {
|
||||||
flags_changed (this); /* EMIT SIGNAL */
|
flags_changed (this); /* EMIT SIGNAL */
|
||||||
FlagsChanged ();
|
FlagsChanged ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue