mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 20:58:12 +08:00
Fix the properties when loading a saved document (#1111)
This commit is contained in:
@@ -676,6 +676,8 @@ impl PortfolioMessageHandler {
|
|||||||
responses.push_back(PropertiesPanelMessage::Init.into());
|
responses.push_back(PropertiesPanelMessage::Init.into());
|
||||||
responses.push_back(NavigationMessage::TranslateCanvas { delta: (0., 0.).into() }.into());
|
responses.push_back(NavigationMessage::TranslateCanvas { delta: (0., 0.).into() }.into());
|
||||||
responses.push_back(DocumentMessage::DocumentStructureChanged.into());
|
responses.push_back(DocumentMessage::DocumentStructureChanged.into());
|
||||||
|
responses.add(PropertiesPanelMessage::ClearSelection);
|
||||||
|
responses.add(PropertiesPanelMessage::UpdateSelectedDocumentProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns an iterator over the open documents in order.
|
/// Returns an iterator over the open documents in order.
|
||||||
|
|||||||
Reference in New Issue
Block a user