Skip to content
Snippets Groups Projects
Commit 78cd53e9 authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Refs #11528 Fix null server for drag and drop

parent 14e1b29f
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,10 @@ namespace SimpleGui ...@@ -261,7 +261,10 @@ namespace SimpleGui
QList<pqPipelineSource *> sources; QList<pqPipelineSource *> sources;
sources = smModel->findItems<pqPipelineSource *>(server); if (server)
{
sources = smModel->findItems<pqPipelineSource *>(server);
}
return sources; return sources;
} }
......
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