Fix the properties when loading a saved document (#1111)

This commit is contained in:
0HyperCube 2023-04-11 08:31:03 +01:00 committed by Keavon Chambers
parent ce76dbee6a
commit 758f757775
1 changed files with 2 additions and 0 deletions

View File

@ -676,6 +676,8 @@ impl PortfolioMessageHandler {
responses.push_back(PropertiesPanelMessage::Init.into());
responses.push_back(NavigationMessage::TranslateCanvas { delta: (0., 0.).into() }.into());
responses.push_back(DocumentMessage::DocumentStructureChanged.into());
responses.add(PropertiesPanelMessage::ClearSelection);
responses.add(PropertiesPanelMessage::UpdateSelectedDocumentProperties);
}
/// Returns an iterator over the open documents in order.