fixed selection crashes.
This commit is contained in:
@@ -114,7 +114,9 @@ void XQCommand::saveNodes( const QModelIndexList& list )
|
||||
// knoten holen
|
||||
const XQNodePtr& contentNode = XQItem::xqItemFromIndex( entry ).contentNode();
|
||||
// hier speichern wir den original knoten, nicht einen clone, wie im clipboard.
|
||||
push_back( {entry.row(), contentNode->own_pos(), contentNode } );
|
||||
// obacht: bei einem Header is der content node null
|
||||
if(contentNode)
|
||||
push_back( {entry.row(), contentNode->own_pos(), contentNode } );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user