diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-09-26 15:24:42 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-18 07:06:33 +0000 |
commit | ae0dddd473ccaf8101b7df5b369e0506a5b4f30a (patch) | |
tree | 0ee394bd833103779e41ae1e51d3835259c880d7 /sfx2 | |
parent | b23d20d6d2bf0ef4c9acf5f38d11e51cdceee271 (diff) |
tdf#102239 START CENTER: Cant activate template categories from split button
Change-Id: I6a426c3449dac1d36aa63c22108ac6105fafea12
Reviewed-on: https://gerrit.libreoffice.org/29294
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 52b45188be68..67738f454499 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -658,8 +658,16 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton, void ) pArg[0].Value <<= OUString("private:user"); dispatchURL( ".uno:NewDoc", OUString(), xFrame, aArgs ); - + return; } + + mpAllRecentThumbnails->Hide(); + mpLocalView->Show(); + mpLocalView->reload(); + mpLocalView->GrabFocus(); + mpRecentButton->SetActive(false); + mpTemplateButton->SetActive(true); + mpRecentButton->Invalidate(); } } |