summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexiviewbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexiviewbase.cpp')
-rw-r--r--kexi/core/kexiviewbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/core/kexiviewbase.cpp b/kexi/core/kexiviewbase.cpp
index c4eb3eaa..c2a3f2a5 100644
--- a/kexi/core/kexiviewbase.cpp
+++ b/kexi/core/kexiviewbase.cpp
@@ -212,7 +212,7 @@ bool KexiViewBase::removeDataBlock( const TQString& dataID )
bool KexiViewBase::eventFilter( TQObject *o, TQEvent *e )
{
- if (e->type()==TQEvent::FocusIn || e->type()==TQEvent::FocusOut) {// && o->inherits(TQWIDGET_OBJECT_NAME_STRING)) {
+ if (e->type()==TQEvent::FocusIn || e->type()==TQEvent::FocusOut) {// && o->inherits("TQWidget")) {
// //hp==true if currently focused widget is a child of this table view
// const bool hp = Kexi::hasParent( static_cast<TQWidget*>(o), focusWidget());
// kexidbg << "KexiViewBase::eventFilter(): " << o->name() << " " << e->type() << endl;