summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-12 11:22:39 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-30 10:17:26 +0000
commiteb37804bb6f4df0e7bc28e68bd7d1165cc848f93 (patch)
tree1bf45fe5584adc3f15f66a0bddb2dcc9ca6df4c2 /vcl/source/control/button.cxx
parentd5266a9e3f367752e2b2099e542518078271edcc (diff)
Related: fdo#66817 pressing space on a DisclosureButton should toggle it
Change-Id: Ib0f03e4389a35f1eb66c3c5951e89a9f70ec7145 (cherry picked from commit 9f7eab01a65c39b07afb1fba8819593694a3fef3) Reviewed-on: https://gerrit.libreoffice.org/5168 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 4254113aef7c..d223320a9a13 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -4165,7 +4165,7 @@ void DisclosureButton::KeyInput( const KeyEvent& rKEvt )
Check( aKeyCode.GetCode() == KEY_ADD );
}
else
- Button::KeyInput( rKEvt );
+ CheckBox::KeyInput( rKEvt );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */