Fix on monitor effects sometimes broken

parent 484310d8
Pipeline #1778 passed with stage
in 25 minutes and 51 seconds
......@@ -51,7 +51,6 @@ KeyframeWidget::KeyframeWidget(std::shared_ptr<AssetParameterModel> model, QMode
: AbstractParamWidget(std::move(model), index, parent)
, m_monitorHelper(nullptr)
, m_neededScene(MonitorSceneType::MonitorSceneDefault)
, m_active(false)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
......@@ -411,10 +410,6 @@ void KeyframeWidget::slotInitMonitor(bool active)
void KeyframeWidget::connectMonitor(bool active)
{
if (active == m_active) {
return;
}
m_active = active;
if (m_monitorHelper) {
if (m_monitorHelper->connectMonitor(active)) {
slotRefreshParams();
......
......@@ -94,7 +94,6 @@ private:
KSelectAction *m_selectType;
TimecodeDisplay *m_time;
MonitorSceneType m_neededScene;
bool m_active;
void connectMonitor(bool active);
std::unordered_map<QPersistentModelIndex, QWidget *> m_parameters;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment