Skip to content

Commit

Permalink
Refs #11528 Fix null server for drag and drop
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonPiccardoSelg committed Apr 16, 2015
1 parent 14e1b29 commit 78cd53e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ namespace SimpleGui

QList<pqPipelineSource *> sources;

sources = smModel->findItems<pqPipelineSource *>(server);
if (server)
{
sources = smModel->findItems<pqPipelineSource *>(server);
}

return sources;
}
Expand Down

0 comments on commit 78cd53e

Please sign in to comment.