Skip to content

Commit

Permalink
fixes equalsraf#269 based on the comment of @einars.
Browse files Browse the repository at this point in the history
  • Loading branch information
diefans authored and equalsraf committed Jul 3, 2017
1 parent f0cf71f commit 04f292c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ QString InputConv::convertKey(const QString& text, int k, Qt::KeyboardModifiers
}

// Remove SHIFT
if (c.unicode() < 0x100 && !c.isLetterOrNumber() && c.isPrint()) {
if (c.unicode() >= 0x80 || (!c.isLetterOrNumber() && c.isPrint())) {
mod &= ~ShiftModifier;
}

Expand Down

0 comments on commit 04f292c

Please sign in to comment.