Permalink
Browse files

vc/frame: fix geometry after move in collapsed state

  • Loading branch information...
mcallegari committed Dec 23, 2018
1 parent bc5dff7 commit 37cfb162957336ad91f4ea89688373442c44906d
Showing with 6 additions and 2 deletions.
  1. +1 −0 debian/changelog
  2. +5 −2 ui/src/virtualconsole/vcframe.cpp
@@ -3,6 +3,7 @@ qlcplus (4.12.1) stable; urgency=low
* engine/RGBMatrix: fix crash when a fixture group has out of bounds heads
* engine/EFX: fix crash when previewing a cloned EFX
* Virtual Console/Slider: fix Click & Go not applied to channels
* Virtual Console/Frame: fix geometry after move in collapsed state
* New fixture: American DJ FREQ Matrix Quad (thanks to Rasmus Ahlberg)
* New fixture: Pro-Lights SunPix 12TRI (thanks to Lorenzo Andreani)

@@ -1479,6 +1479,9 @@ void VCFrame::mouseMoveEvent(QMouseEvent* e)
else
QWidget::mouseMoveEvent(e);

m_width = this->width();
m_height = this->height();
if (isCollapsed() == false)
{
m_width = this->width();
m_height = this->height();
}
}

0 comments on commit 37cfb16

Please sign in to comment.