* @brief Stores the editor tree expansion map, marking the project dirty when it changed. */
| 1449 | * @brief Stores the editor tree expansion map, marking the project dirty when it changed. |
| 1450 | */ |
| 1451 | void DataModel::ProjectModel::setTreeExpansion(const QJsonObject& expansion) |
| 1452 | { |
| 1453 | if (m_treeExpansion == expansion) |
| 1454 | return; |
| 1455 | |
| 1456 | m_treeExpansion = expansion; |
| 1457 | setModified(true); |
| 1458 | scheduleAutoSave(); |
| 1459 | } |
| 1460 | |
| 1461 | /** |
| 1462 | * @brief Stable-id keyed Project Overview diagram node collapse map (persisted in the file). |
no outgoing calls
no test coverage detected