Skip to content
Snippets Groups Projects
Commit 14714e38 authored by Marco Bubke's avatar Marco Bubke Committed by Kai Koehne
Browse files

Fix zooming with the mousewheel

Task-Number: BAUHAUS-516
parent fff5c6ae
No related branches found
No related tags found
No related merge requests found
...@@ -175,9 +175,9 @@ void FormEditorWidget::wheelEvent(QWheelEvent *event) ...@@ -175,9 +175,9 @@ void FormEditorWidget::wheelEvent(QWheelEvent *event)
{ {
if (event->modifiers().testFlag(Qt::ControlModifier)) { if (event->modifiers().testFlag(Qt::ControlModifier)) {
if (event->delta() > 0) { if (event->delta() > 0) {
zoomAction()->zoomIn();
} else {
zoomAction()->zoomOut(); zoomAction()->zoomOut();
} else {
zoomAction()->zoomIn();
} }
event->accept(); event->accept();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment