diff options
author | Andre Fischer <af@apache.org> | 2013-05-23 14:30:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-23 19:59:31 +0100 |
commit | ab0360c309adcd131a9e6c1f02abc82486d09a46 (patch) | |
tree | 627f6ba44a5325ee734f2939bd7076b1115b34b9 /sd | |
parent | Resolves: #i119903# Alternative text for form control t import/export (diff) | |
download | core-ab0360c309adcd131a9e6c1f02abc82486d09a46.tar.gz core-ab0360c309adcd131a9e6c1f02abc82486d09a46.zip |
Resolves: #i122247# Improved focus traveling in sidebar
(cherry picked from commit 4b0aafb8182b1f86b9edf947a4c62ff9948c6676)
Change-Id: Ieae8e44fe147309cc3ff447a6dbc375d1b2f34d0
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/NavigatorWrapper.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/sidebar/NavigatorWrapper.hxx | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/NavigatorWrapper.cxx b/sd/source/ui/sidebar/NavigatorWrapper.cxx index ad870fc43fe1..0412362c2a39 100644 --- a/sd/source/ui/sidebar/NavigatorWrapper.cxx +++ b/sd/source/ui/sidebar/NavigatorWrapper.cxx @@ -81,4 +81,13 @@ void NavigatorWrapper::UpdateNavigator (void) } + + +void NavigatorWrapper::GetFocus (void) +{ + maNavigator.GrabFocus(); +} + + + } } // end of namespace sd::sidebar diff --git a/sd/source/ui/sidebar/NavigatorWrapper.hxx b/sd/source/ui/sidebar/NavigatorWrapper.hxx index 669628d0c073..26e6255d6305 100644 --- a/sd/source/ui/sidebar/NavigatorWrapper.hxx +++ b/sd/source/ui/sidebar/NavigatorWrapper.hxx @@ -51,6 +51,7 @@ public: // Control virtual void Resize (void); + virtual void GetFocus (void); // From ILayoutableWindow virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth); |