diff options
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r-- | kmymoney2/dialogs/kmymoneysplittable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp index 231aaf8..6f62d44 100644 --- a/kmymoney2/dialogs/kmymoneysplittable.cpp +++ b/kmymoney2/dialogs/kmymoneysplittable.cpp @@ -324,7 +324,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e) // in case we have the 'enter moves focus between fields', we need to simulate // a TAB key when the object 'o' points to the category or memo field. if(KMyMoneyGlobalSettings::enterMovesBetweenFields()) { - if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editCategory->lineEdit()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_editMemo)) { + if(o == m_editCategory->lineEdit() || o == m_editMemo) { terminate = false; TQKeyEvent evt(e->type(), Key_Tab, 0, k->state(), TQString(), |