diff options
author | deva <deva> | 2011-03-11 13:41:42 +0000 |
---|---|---|
committer | deva <deva> | 2011-03-11 13:41:42 +0000 |
commit | 33ca5716dd3bb93caf87bce65de15986dde86c63 (patch) | |
tree | 3571e4e0426f6516f09632281b2cefc70e8b67f9 /client/widgets/textedit.cc | |
parent | 0a1d9ad482e343fe96e0e447a1c173654d6fd3af (diff) |
Huge improvements on 'keyboard-only' use.
Diffstat (limited to 'client/widgets/textedit.cc')
-rw-r--r-- | client/widgets/textedit.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/widgets/textedit.cc b/client/widgets/textedit.cc index c597359..757a353 100644 --- a/client/widgets/textedit.cc +++ b/client/widgets/textedit.cc @@ -85,6 +85,10 @@ bool TextEdit::eventFilter(QObject *, QEvent *event) { if (event->type() == QEvent::KeyPress) { QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event); + if(keyEvent->text() == "\t") { + event->ignore(); + return true; + } if(keyEvent->text() != "") emit wasChanged(); } return false; |