Hi!

I'm tryng to implement autocollapse in pipeline browser, but overriding 
pqPipelineBrowserWidget::expandWithModelIndexTranslation or implement my method 
for autocollapse cause crashes, e.g

``` c++
void pqPipelineBrowserWidget::collapseWithModelTranslation(const QModelIndex& 
index)
{
  this->collapse(this->FilteredPipelineModel->mapFromSource(index));
}
```

this method calling by a signal in pqPipelineModel::addChild. The signal emitts 
like a pqPipelineModel::firstChildAdded signal, but my signal calls when row 
count is more than 0.

Where did I go wrong?

Shagit Ziganshin
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to