Improve ProjectDataBase use

This commit is contained in:
Claveau Joshua
2020-07-01 18:31:19 +02:00
parent 6652401d07
commit c86f9ccc3a
7 changed files with 159 additions and 57 deletions

View File

@@ -64,6 +64,6 @@ void ChangeElementInformationCommand::redo() {
void ChangeElementInformationCommand::updateProjectDB()
{
if(m_element->diagram()) {
m_element->diagram()->project()->dataBase()->updateDB();
m_element->diagram()->project()->dataBase()->elementInfoChanged(m_element);
}
}