From 24f0b15c022e66d083003db450d6963447433b0b Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Thu, 15 Jul 2021 22:59:08 -0400 Subject: [PATCH] Fix missing update when document is changed. The document change means that all the properties have probably changed. And if this is the first change then previous updates wouldn't have done anything yet. Fixes https://gitlab.com/inkscape/inkscape/-/issues/2643 --- src/ui/dialog/document-properties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index e7e5c2f4f2..cc159edda0 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -1513,6 +1513,7 @@ void DocumentProperties::documentReplaced() _repr_namedview = desktop->getNamedView()->getRepr(); _repr_namedview->addListener(&_repr_events, this); populate_linked_profiles_box(); + update_widgets(); } } -- GitLab