diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-01-16 01:44:51 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-01-17 01:43:26 +0100 |
commit | 1ec49f8a3917cec0ef82665d61f63e4b190fc298 (patch) | |
tree | 32f9277b83869aa0b8d416d18bd4550393b26765 /dbaccess | |
parent | 9b197ca70a591cba050075b61b7da1ecd9e4e224 (diff) |
Handle focus_on_click glade property for buttons
It maps to our WB_NOPOINTERFOCUS.
Change-Id: Ib00e696801b72de2c931e282ed8d50c972fa59fb
Reviewed-on: https://gerrit.libreoffice.org/47990
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/CollectionView.cxx | 1 | ||||
-rw-r--r-- | dbaccess/uiconfig/ui/collectionviewdialog.ui | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx index 372a65f79598..ebdd01a8bd23 100644 --- a/dbaccess/source/ui/dlg/CollectionView.cxx +++ b/dbaccess/source/ui/dlg/CollectionView.cxx @@ -82,7 +82,6 @@ OCollectionView::OCollectionView( vcl::Window * pParent m_pName->SetText(_sDefaultName); m_pName->GrabFocus(); - m_pNewFolder->SetStyle( m_pNewFolder->GetStyle() | WB_NOPOINTERFOCUS ); m_pUp->SetModeImage(Image(BitmapEx(BMP_NAVIGATION_BTN_UP_SC))); m_pNewFolder->SetModeImage(Image(BitmapEx(BMP_NAVIGATION_CREATEFOLDER_SC))); diff --git a/dbaccess/uiconfig/ui/collectionviewdialog.ui b/dbaccess/uiconfig/ui/collectionviewdialog.ui index 7ffd69952459..96475b3063c0 100644 --- a/dbaccess/uiconfig/ui/collectionviewdialog.ui +++ b/dbaccess/uiconfig/ui/collectionviewdialog.ui @@ -113,6 +113,7 @@ <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</property> <property name="can_default">True</property> <property name="has_default">True</property> <property name="receives_default">True</property> |