Fix rec-arm disable

This broke in 91f9561958, when the condition for clip
recording was added.
This commit is contained in:
Robin Gareus
2025-04-19 18:39:32 +02:00
parent d285ff365e
commit 5f1bea0b6b

View File

@@ -334,7 +334,7 @@ Track::prep_record_enabled (bool yn)
return -1;
}
if (!can_be_record_enabled()) {
if (yn && !can_be_record_enabled()) {
return -1;
}