Verified Commit 4ffe4a53 authored by Jakob-Niklas See's avatar Jakob-Niklas See 🐞
Browse files

Show magnifier immediately after toggle

Previously the magnifier would only show after pressing shift and moving
the mouse slightly to update. This patch makes the key handler call
update on pressing shift.
parent 388622bd
......@@ -188,6 +188,7 @@ void QuickEditor::keyPressEvent(QKeyEvent *event)
const bool shiftPressed = modifiers & Qt::ShiftModifier;
if (shiftPressed) {
mToggleMagnifier = true;
update();
}
switch (event->key()) {
case Qt::Key_Escape:
......
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