summaryrefslogtreecommitdiffstats
path: root/quanta/components/framewizard/treenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/framewizard/treenode.cpp')
-rw-r--r--quanta/components/framewizard/treenode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quanta/components/framewizard/treenode.cpp b/quanta/components/framewizard/treenode.cpp
index 0ff7cf74..ecf42bf8 100644
--- a/quanta/components/framewizard/treenode.cpp
+++ b/quanta/components/framewizard/treenode.cpp
@@ -114,7 +114,7 @@ TQString tree::addChildNode(const TQString &l){
}
bool tree::insertChildNode(const TQString &l){
- TQString tqparent = findNode(l)->tqparentLabel();
+ TQString tqparent = findNode(l)->parentLabel();
int pos=findNode( tqparent )->childPosition( findNode(l) );
++nodeId;
treeNode *newNode = new treeNode(TQString::number(nodeId,10),tqparent);