summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-13 14:31:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-13 17:51:18 +0100
commit418b6589752525a9937089a73f0e116109b27657 (patch)
tree5cf1ca318393dcd5ea579ad1393f51507b14f7b7 /sd
parente290c3f3e233f03a0b13d19553c637f0a7070fbf (diff)
Resolves: tdf#129347 ensure impress docking window has enabled input
the default inputmode is taken from the parent, if the templates dialog is open when the sidebar is created then the template dialog has set the toplevel window disabled-input Change-Id: I27cd0a6d6127cc2033a2304c27d72b88f16b0b1a Reviewed-on: https://gerrit.libreoffice.org/85119 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/PaneChildWindows.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/PaneChildWindows.cxx b/sd/source/ui/dlg/PaneChildWindows.cxx
index d4d4bab39d5d..b44e128823bf 100644
--- a/sd/source/ui/dlg/PaneChildWindows.cxx
+++ b/sd/source/ui/dlg/PaneChildWindows.cxx
@@ -50,7 +50,9 @@ PaneChildWindow::PaneChildWindow (
pParentWindow,
SdResId(pTitleBarResId)));
SetAlignment(SfxChildAlignment::LEFT);
- static_cast<SfxDockingWindow*>(GetWindow())->Initialize(pInfo);
+ SfxDockingWindow* pDockingWindow = static_cast<SfxDockingWindow*>(GetWindow());
+ pDockingWindow->EnableInput();
+ pDockingWindow->Initialize(pInfo);
SetHideNotDelete(true);
ViewShellBase* pBase = ViewShellBase::GetViewShellBase(pBindings->GetDispatcher()->GetFrame());