[Libreoffice-commits] core.git: framework/source
Maxim Monastirsky
momonasmon at gmail.com
Mon Jul 27 07:55:07 PDT 2015
framework/source/uielement/subtoolbarcontroller.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4b35bffa0ec7295718fa59280b495972d86d7af8
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Mon Jul 27 17:48:47 2015 +0300
Fix image update of DROPDOWNONLY buttons
Change-Id: I787878d6ac02d15286a405ccfcc1f09f04c39501
diff --git a/framework/source/uielement/subtoolbarcontroller.cxx b/framework/source/uielement/subtoolbarcontroller.cxx
index 3a06a10..755b43b 100644
--- a/framework/source/uielement/subtoolbarcontroller.cxx
+++ b/framework/source/uielement/subtoolbarcontroller.cxx
@@ -260,7 +260,7 @@ css::uno::Reference< css::awt::XWindow > SubToolBarController::createPopupWindow
sal_Bool SubToolBarController::opensSubToolbar()
throw ( css::uno::RuntimeException, std::exception )
{
- return sal_True;
+ return !m_aLastCommand.isEmpty();
}
OUString SubToolBarController::getSubToolbarName()
More information about the Libreoffice-commits
mailing list