Change the way how a diagram is added

Now it's the project itself who manage the adding of diagram instead of
the diagram view, it's more coherent
This commit is contained in:
Claveau Joshua
2020-05-24 16:24:39 +02:00
parent edfdf83c99
commit 7ea42752a4
6 changed files with 111 additions and 127 deletions

View File

@@ -233,6 +233,7 @@ DiagramContext ElementInfoWidget::currentInfo() const
for (ElementInfoPartWidget *eipw : m_eipw_list)
{
//add value only if they're something to store
if (!eipw->text().isEmpty())
{