Color mixer channels if they are made by a colored track (#5780)

Color mixer channels if they are made by a coloured track using the “Assign to new FX channel option.”
This commit is contained in:
Kumar
2020-11-16 23:02:57 +05:30
committed by GitHub
parent 060d0dc5dc
commit a42d2d2d70
4 changed files with 17 additions and 10 deletions

View File

@@ -73,7 +73,13 @@ class FxChannel : public ThreadableJob
void unmuteForSolo();
// TODO C++17 and above: use std::optional insteads
void setColor (QColor newColor)
{
m_color = newColor;
m_hasColor = true;
}
// TODO C++17 and above: use std::optional instead
QColor m_color;
bool m_hasColor;