]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Wheel scaling for cells is suppressed and default behavior of QAbstractScrollArea...
authoradv <adv@opencascade.com>
Tue, 3 Jul 2012 09:47:54 +0000 (09:47 +0000)
committeradv <adv@opencascade.com>
Tue, 3 Jul 2012 09:47:54 +0000 (09:47 +0000)
src/GraphicsView/GraphicsView_Scene.cxx

index 39fe05733a1aca0cd29f4777a37f80a56ca9a3cd..c314c16ca2b7cd3cde6f6c6948b278ed805c691d 100644 (file)
@@ -143,7 +143,7 @@ void GraphicsView_Scene::wheelEvent( QGraphicsSceneWheelEvent* e )
 
   // accept the event to prevent calling QAbstractScrollArea::wheelEvent()
   // from QGraphicsView::wheelEvent(), which will change values of scroll-bars
-  e->accept();
+  // e->accept();
 
   //QGraphicsScene::wheelEvent( e ); // don't uncomment
 }