diff options
author | Jim Raykowski <raykowj@gmail.com> | 2018-04-08 13:45:09 -0800 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-06-05 07:41:02 +0200 |
commit | b5af679c74774036de323b687a3901bd8f97a09b (patch) | |
tree | c83dab7ab9dc7c0ffaf2577fc3cdc65f2c1d36e5 /include | |
parent | 48b49937fed5e50d299a94063eb325799ff672e9 (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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/FocusManager.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/sidebar/Sidebar.hxx | 2 |
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 |