From: rnv Date: Mon, 7 Sep 2020 12:31:00 +0000 (+0300) Subject: Fix crash on File->New X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frnv%2F19139;p=modules%2Fgui.git Fix crash on File->New --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 14b9587f9..72b366c88 100644 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -2841,6 +2841,6 @@ void SVTK_ViewWindow::synchronize( SUIT_ViewWindow* theView ) void SVTK_ViewWindow::resizeEvent( QResizeEvent* theEvent ) { #ifdef VGL_WORKAROUND - QTimer::singleShot(0, [this] () { this->Repaint(); } ); + Repaint(); #endif }