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
......@@ -175,9 +175,9 @@ void FormEditorWidget::wheelEvent(QWheelEvent *event)
{
if (event->modifiers().testFlag(Qt::ControlModifier)) {
if (event->delta() > 0) {
zoomAction()->zoomIn();
} else {
zoomAction()->zoomOut();
} else {
zoomAction()->zoomIn();
}
event->accept();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment