summaryrefslogtreecommitdiffstats
path: root/quanta/components/tableeditor
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/tableeditor')
-rw-r--r--quanta/components/tableeditor/tableitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp
index 6d3da1ac..60625d95 100644
--- a/quanta/components/tableeditor/tableitem.cpp
+++ b/quanta/components/tableeditor/tableitem.cpp
@@ -54,7 +54,7 @@ TQWidget* TableItem::createEditor() const
void TableItem::setContentFromEditor(TQWidget *w)
{
- if (w->inherits( "TQTextEdit" ))
+ if (w->inherits( TQTEXTEDIT_OBJECT_NAME_STRING ))
setText(((TQTextEdit*)w)->text());
else
TQTableItem::setContentFromEditor(w);