When selecting a specific resolution the width and height fields were
only disabled, but not updated to that resolution. Fixed.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
m_frameWidth->setEnabled(false);
m_frameHeight->setEnabled(false);
+ m_frameWidth->setMinimum(m_width);
+ m_frameWidth->setMaximum(m_width);
+ m_frameWidth->setValue(m_width);
+ m_frameHeight->setMinimum(m_height);
+ m_frameHeight->setMaximum(m_height);
+ m_frameHeight->setValue(m_height);
m_frameSize->setEnabled(true);
updateFrameInterval();
return;