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
+5 -1
View File
@@ -86,7 +86,11 @@ QWidget *DoubleField::CreateWidget()
void DoubleField::UpdateWidgetValue(QWidget *widget, double timecode)
{
static_cast<LabelSlider*>(widget)->SetValue(GetDoubleAt(timecode));
if (qIsNaN(timecode)) {
static_cast<LabelSlider*>(widget)->SetValue(qSNaN());
} else {
static_cast<LabelSlider*>(widget)->SetValue(GetDoubleAt(timecode));
}
}
void DoubleField::ValueHasBeenSet()