summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-04-08 13:45:09 -0800
committerHeiko Tietze <tietze.heiko@gmail.com>2018-06-05 09:05:25 +0200
commit47ccfe2c92027458287bd91f9df891e319e08d04 (patch)
treefeaba77ee639878ba2def8693208cad88ea37139 /include
parent972d376151196b5637db86fde3de77c6f716bfeb (diff)
tdf#101915 move focus to sidebar styles panel
Change-Id: I3a150761a401caf1e76b5ec0ee36e537c14df8e0 Reviewed-on: https://gerrit.libreoffice.org/52612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> (cherry picked from commit b5af679c74774036de323b687a3901bd8f97a09b) Reviewed-on: https://gerrit.libreoffice.org/55305
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sidebar/FocusManager.hxx1
-rw-r--r--include/sfx2/sidebar/Sidebar.hxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/sidebar/FocusManager.hxx b/include/sfx2/sidebar/FocusManager.hxx
index b9297f48aa7c..84464c4b475f 100644
--- a/include/sfx2/sidebar/FocusManager.hxx
+++ b/include/sfx2/sidebar/FocusManager.hxx
@@ -62,6 +62,7 @@ public:
pressing the F6 key.
*/
void GrabFocus();
+ void GrabFocusPanel();
void SetDeckTitle(DeckTitleBar* pDeckTitleBar);
void SetPanels(const SharedPanelContainer& rPanels);
diff --git a/include/sfx2/sidebar/Sidebar.hxx b/include/sfx2/sidebar/Sidebar.hxx
index edf184d707b7..c9feb77a54b6 100644
--- a/include/sfx2/sidebar/Sidebar.hxx
+++ b/include/sfx2/sidebar/Sidebar.hxx
@@ -39,7 +39,7 @@ public:
*/
static void ShowPanel (
const OUString& rsPanelId,
- const css::uno::Reference<css::frame::XFrame>& rxFrame);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame, bool bFocus = false);
/** Switch to the deck that contains the specified panel and toggle
the visibility of the panel (expanded and scrolled into the