Remove note and sound columns from column's parent dropdown

This commit is contained in:
manongjohn 2022-08-14 16:47:08 -04:00
parent 7a440ac58e
commit 77152f035b

View file

@ -481,11 +481,12 @@ void ChangeObjectParent::refresh() {
: viewer->getOtherCameraColor();
} else if (id.isColumn() && (!xsh->isColumnEmpty(index))) {
TXshColumn *colx = xsh->getColumn(index);
if (colx->getColumnType() != TXshColumn::eSoundTextType &&
colx->getColumnType() != TXshColumn::eSoundType) {
QColor unused;
if (colx->getColumnType() == TXshColumn::eSoundTextType ||
colx->getColumnType() == TXshColumn::eSoundType)
continue;
QColor unused;
viewer->getColumnColor(newTextBG, unused, id.getIndex(), xsh);
}
} else
continue;