Backup.
This commit is contained in:
@@ -57,7 +57,8 @@ void XQChildModel::addModelData( const XQNodePtr& contentRoot )
|
||||
|
||||
const XQModelSection& section = _sections.sectionByKey( key );
|
||||
section.setContentRootNode( contentEntry->parent() );
|
||||
int newRow = _sections.lastRow(section);
|
||||
// FaRZ!
|
||||
//int newRow = _sections.lastRow(section);
|
||||
|
||||
XQNodePtr sheetNode = section.sheetRootNode();
|
||||
XQItemList list = _itemFactory.makeRow( sheetNode, contentEntry );
|
||||
@@ -79,7 +80,8 @@ void XQChildModel::addSectionEntry( const QString& key, const XQNodePtr& content
|
||||
if(section.isValid() )
|
||||
{
|
||||
section.setContentRootNode( contentEntry->parent() );
|
||||
int newRow = _sections.lastRow(section);
|
||||
// FARZ!
|
||||
int newRow = 1;//_sections.lastRow(section);
|
||||
XQNodePtr sheetNode = section.sheetRootNode();
|
||||
XQItemList list = _itemFactory.makeRow( sheetNode, nullptr );
|
||||
insertRow( newRow, list);
|
||||
|
Reference in New Issue
Block a user