summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/container.cpp')
-rw-r--r--kexi/formeditor/container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/formeditor/container.cpp b/kexi/formeditor/container.cpp
index 4ea7f97e..89269b14 100644
--- a/kexi/formeditor/container.cpp
+++ b/kexi/formeditor/container.cpp
@@ -267,7 +267,7 @@ Container::eventFilter(TQObject *s, TQEvent *e)
if(!tree || !tree->widget())
return true;
- if(m_form->formWidget() && (TQT_BASE_OBJECT(tree->widget()) != TQT_BASE_OBJECT(s)))
+ if(m_form->formWidget() && (tree->widget() != s))
m_form->formWidget()->highlightWidgets(tree->widget(), TQT_TQWIDGET(s));
}
else if(m_insertBegin!=TQPoint(-1,-1) && s == m_container && !m_toplevel && (mev->state() != ControlButton) && !FormManager::self()->isCreatingConnection()) // draw the selection rect