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 f236ef76..0b704529 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_OBJECT_NAME_STRING ))
+ if (w->inherits( "TQTextEdit" ))
setText(((TQTextEdit*)w)->text());
else
TQTableItem::setContentFromEditor(w);