Skip to content
Snippets Groups Projects
Commit ae338efb authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: issue on windows in debug, index() called before m_StackedLayerModel is set

parent 507c6dc2
No related branches found
No related tags found
No related merge requests found
...@@ -683,7 +683,8 @@ LayerStackItemModel ...@@ -683,7 +683,8 @@ LayerStackItemModel
// qDebug() // qDebug()
// << this << "::index(" << row << "," << column << "," << parent << ")"; // << this << "::index(" << row << "," << column << "," << parent << ")";
assert( m_StackedLayerModel!=NULL ); if (m_StackedLayerModel == NULL)
return QModelIndex();
// qDebug() // qDebug()
// << "index:" << row << "," << column << "," << m_StackedLayerModel->At( row ); // << "index:" << row << "," << column << "," << m_StackedLayerModel->At( row );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment