Skip to content

Commit

Permalink
qiostextresponder: Add support for ImhLatinOnly
Browse files Browse the repository at this point in the history
Change-Id: I38f43cd644d3c26c834cf60019c4db1fa0b8d61f
Reviewed-by: Richard Moe Gustavsen <[email protected]>
  • Loading branch information
kbroulik committed Apr 12, 2015
1 parent 4fab4d2 commit 95b481e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/platforms/ios/qiostextresponder.mm
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ - (id)initWithInputContext:(QIOSInputContext *)inputContext
self.keyboardType = UIKeyboardTypeDecimalPad;
else if (hints & Qt::ImhDialableCharactersOnly)
self.keyboardType = UIKeyboardTypePhonePad;
else if (hints & Qt::ImhLatinOnly)
self.keyboardType = UIKeyboardTypeASCIICapable;
else
self.keyboardType = UIKeyboardTypeDefault;

Expand Down

0 comments on commit 95b481e

Please sign in to comment.