summaryrefslogtreecommitdiffstats
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-14 20:34:29 +0100
commit04ad06533c933b2190b05f42beb50d85a795c3c6 (patch)
tree628876d6c2b2b6b132f99bfa495d52da7f4db155 /sd
parenttdf#121991 Chart OOXML import: fix deleted legend entries (diff)
downloadcore-04ad06533c933b2190b05f42beb50d85a795c3c6.tar.gz
core-04ad06533c933b2190b05f42beb50d85a795c3c6.zip
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/85120 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());