Accept all wheel events in ViewArea

This commit is contained in:
2018-10-14 01:56:59 +01:00
parent f219ee1b3e
commit a26bd74b0d
+2
View File
@@ -729,6 +729,8 @@ void ViewArea::wheelEvent( QWheelEvent* event )
double scale;
double usedScale;
event->accept();
if( event->modifiers() & Qt::ControlModifier )
{
scale = 0.001 * event->delta();