Fixed implementation of LayoutView#resize in non-Qt case

This commit is contained in:
Matthias Koefferlein 2022-05-27 08:31:13 +02:00
parent 5825b7d0c6
commit 2e10ef300b
1 changed files with 3 additions and 3 deletions

View File

@ -978,16 +978,16 @@ ViewObjectUI::resize (unsigned int w, unsigned int h)
{
m_widget_width = w;
m_widget_height = h;
#if defined(HAVE_QT)
#if defined(HAVE_QT)
if (mp_widget) {
mp_widget->resize (w, h);
}
#endif
// don't wait until the layout system informs us - which may never take place when
// the widget isn't shown.
// the widget isn't shown. In the non-Qt case we need it anyway here.
resize_event (w, h);
#endif
}
int