]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix crash on File->New rnv/19139
authorrnv <rnv@opencascade.com>
Mon, 7 Sep 2020 12:31:00 +0000 (15:31 +0300)
committerrnv <rnv@opencascade.com>
Mon, 7 Sep 2020 12:31:00 +0000 (15:31 +0300)
src/SVTK/SVTK_ViewWindow.cxx

index 14b9587f98271ecfd8ff143068be4cce2f5e6a85..72b366c887270ff29410523774972b94d1cd05fd 100644 (file)
@@ -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
 }