summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/backingwindow.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 99c3990de072..9185458f62af 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -421,6 +421,10 @@ void BackingWindow::setOwningFrame( const css::uno::Reference< css::frame::XFram
mxDropTarget->addDropTargetListener(mxDropTargetListener);
mxDropTarget->setActive(true);
}
+
+ css::uno::Reference<XFramesSupplier> xFramesSupplier(mxDesktopDispatchProvider, UNO_QUERY);
+ if (xFramesSupplier)
+ xFramesSupplier->setActiveFrame(mxFrame);
}
IMPL_LINK(BackingWindow, ExtLinkClickHdl, weld::Button&, rButton, void)