Remove note and sound columns from column's parent dropdown
This commit is contained in:
parent
7a440ac58e
commit
77152f035b
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue