Skip to content

Commit

Permalink
fix for new version of qt binding
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Jan 18, 2018
1 parent 16d28c6 commit 104b863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (e *Editor) convertKey(text string, key int, mod core.Qt__KeyboardModifier)
return ""
}

char := core.NewQChar10(c)
char := core.NewQChar11(c)
if char.Unicode() < 0x100 && !char.IsNumber() && char.IsPrint() {
mod &= ^e.shiftModifier
}
Expand Down

0 comments on commit 104b863

Please sign in to comment.