svx/source/tbxctrls/tbcontrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1f028ef4232a31402e983a862d9f9a1526a4da8e Author: Juergen Funk <juergen.funk...@cib.de> Date: Tue Oct 7 15:51:09 2014 +0200 Fix fdo#84591 Styles dropdown disappears when clicked on submenu This tells the dropdown to not grab the focus. Change-Id: If1b32d1f53c12eb86ab2f92c531385578d82ae59 Reviewed-on: https://gerrit.libreoffice.org/11841 Reviewed-by: Samuel Mehrbrodt <s.mehrbr...@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbr...@gmail.com> diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 4fbd806..9fa36cf 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -711,7 +711,7 @@ void SvxStyleBox_Impl::UserDraw( const UserDrawEvent& rUDEvt ) { if(m_pButtons[nId] == NULL) { - m_pButtons[nId] = new MenuButton((Window*)pDevice, WB_FLATBUTTON); + m_pButtons[nId] = new MenuButton((Window*)pDevice, WB_FLATBUTTON | WB_NOPOINTERFOCUS); m_pButtons[nId]->SetSizePixel(Size(20, aRect.GetSize().Height())); m_pButtons[nId]->SetPopupMenu(&m_aMenu); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits