From 08e18158ba6cf973675826ab400876fd6e2412fd Mon Sep 17 00:00:00 2001 From: pavltom Date: Mon, 4 Mar 2024 18:00:41 +0100 Subject: [PATCH] Switch to correct page when changing Link property target - add comments --- src/Gui/DlgPropertyLink.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/DlgPropertyLink.cpp b/src/Gui/DlgPropertyLink.cpp index 792cdad5ad..973a5d1e70 100644 --- a/src/Gui/DlgPropertyLink.cpp +++ b/src/Gui/DlgPropertyLink.cpp @@ -525,6 +525,7 @@ void DlgPropertyLink::onItemSelectionChanged() auto vp = Base::freecad_dynamic_cast( doc->getViewProvider(obj)); if(vp) { + // If the view provider uses a special window for rendering, switch to it MDIView *view = vp->getMDIView(); if (view) { doc->setActiveWindow(view);