summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Deep <akshaydeepiitr@gmail.com>2016-09-26 15:24:42 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-10-18 07:06:33 +0000
commitae0dddd473ccaf8101b7df5b369e0506a5b4f30a (patch)
tree0ee394bd833103779e41ae1e51d3835259c880d7
parentb23d20d6d2bf0ef4c9acf5f38d11e51cdceee271 (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>
-rw-r--r--sfx2/source/dialog/backingwindow.cxx10
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();
}
}