nodes: fix loop mode regression

This commit is contained in:
itsmattkc
2022-11-01 09:15:51 -07:00
parent c5a86af181
commit 5e92930de0
16 changed files with 111 additions and 86 deletions
+2
View File
@@ -453,6 +453,8 @@ void ClipBlock::InputValueChangedEvent(const QString &input, int element)
}
}
}
} else if (input == kLoopModeInput) {
emit PreviewChanged();
}
}
+3 -3
View File
@@ -188,12 +188,12 @@ public:
/**
* @brief Get currently set loop mode
*/
Decoder::LoopMode loop_mode() const
LoopMode loop_mode() const
{
return static_cast<Decoder::LoopMode>(GetStandardValue(kLoopModeInput).toInt());
return static_cast<LoopMode>(GetStandardValue(kLoopModeInput).toInt());
}
void set_loop_mode(Decoder::LoopMode l)
void set_loop_mode(LoopMode l)
{
SetStandardValue(kLoopModeInput, int(l));
}