make DAG view behave more nicely in case of cyclic graphs

This commit is contained in:
wmayer
2018-09-30 15:21:11 +02:00
parent 822421ddd9
commit ee46bdf537

View File

@@ -552,6 +552,8 @@ void Model::updateSlot()
catch(const boost::not_a_dag &)
{
Base::Console().Error("not a dag exception in DAGView::Model::updateSlot()\n");
//do not continuously report an error for cyclic graphs
graphDirty = false;
return;
}
//index the vertices in sort order.