Ensure geometry param size is updated on monitor change

parent 06171396
......@@ -174,7 +174,6 @@ GeometryWidget::GeometryWidget(Monitor *monitor, QPair<int, int> range, const QR
layout->addLayout(alignLayout);
layout->addLayout(horLayout2);
slotUpdateGeometryRect(rect);
adjustSizeValue();
slotAdjustRectKeyframeValue();
setMinimumHeight(m_spinX->minimumHeight() + alignButton->sizeHint().height() + m_spinSize->minimumHeight());
}
......@@ -379,6 +378,7 @@ void GeometryWidget::slotUpdateGeometryRect(const QRect r)
m_spinWidth->blockSignals(false);
m_spinHeight->blockSignals(false);
m_monitor->setUpEffectGeometry(r);
adjustSizeValue();
emit valueChanged(getValue());
}
......
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