summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformdataiteminterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexiformdataiteminterface.cpp')
-rw-r--r--kexi/plugins/forms/kexiformdataiteminterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/forms/kexiformdataiteminterface.cpp b/kexi/plugins/forms/kexiformdataiteminterface.cpp
index 9a861917..c588c7b1 100644
--- a/kexi/plugins/forms/kexiformdataiteminterface.cpp
+++ b/kexi/plugins/forms/kexiformdataiteminterface.cpp
@@ -61,8 +61,8 @@ void KexiFormDataItemInterface::setDisplayDefaultValue(TQWidget* widget, bool di
void KexiFormDataItemInterface::cancelEditor()
{
- TQWidget *tqparentWidget = dynamic_cast<TQWidget*>(this)->tqparentWidget();
- KexiFormScrollView* view = KexiUtils::findParent<KexiFormScrollView>(tqparentWidget, "KexiFormScrollView");
+ TQWidget *parentWidget = dynamic_cast<TQWidget*>(this)->parentWidget();
+ KexiFormScrollView* view = KexiUtils::findParent<KexiFormScrollView>(parentWidget, "KexiFormScrollView");
if (view)
view->cancelEditor();
}