started on editing multiple effects at once

This commit is contained in:
itsmattkc
2019-03-15 01:26:46 +11:00
parent ab0052e08e
commit 058e5b25c5
6 changed files with 80 additions and 19 deletions
+7 -1
View File
@@ -31,7 +31,13 @@ void BoolField::UpdateWidgetValue(QWidget *widget, double timecode)
cb->blockSignals(true);
cb->setChecked(GetBoolAt(timecode));
if (qIsNaN(timecode)) {
cb->setTristate(true);
cb->setCheckState(Qt::PartiallyChecked);
} else {
cb->setTristate(false);
cb->setChecked(GetBoolAt(timecode));
}
cb->blockSignals(false);