Commit d14a1de9 authored by Luis Díaz Más's avatar Luis Díaz Más

Fixing the bug #4244 that I just reported in code.opencv.org

parent 2c9547e3
......@@ -1848,7 +1848,7 @@ bool CvWindow::isOpenGl()
void CvWindow::setViewportSize(QSize _size)
{
myView->getWidget()->resize(_size);
resize(_size);
myView->setSize(_size);
}
......
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