diff Samples/Qt/QStoneOpenGlWidget.cpp @ 884:aad5ccf1be10 am-dev

cleanup
author Alain Mazy <alain@mazy.be>
date Tue, 09 Jul 2019 14:43:00 +0200
parents 30268a0cafca
children 9c2f6d6b9f4a
line wrap: on
line diff
--- a/Samples/Qt/QStoneOpenGlWidget.cpp	Tue Jul 09 14:34:56 2019 +0200
+++ b/Samples/Qt/QStoneOpenGlWidget.cpp	Tue Jul 09 14:43:00 2019 +0200
@@ -165,4 +165,7 @@
 {
   OrthancStone::GuiAdapterWheelEvent guiEvent;
   throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented);
+
+  // force redraw of the OpenGL widget
+  update();
 }