summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-27 13:01:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-28 09:54:29 +0100
commitf8719f68f8c073c0ad473507b16fc4bd99e79baa (patch)
tree49259c19e832af6d1c28b9ba29cdef4c5ea57519 /include
parent5b5f58f395d1b6c1d007dcc6dc29535c5678f851 (diff)
get_active should be true when activated but menu not yet shown
Change-Id: Ia2a7cbf5b47eab6d09c78eb9d18233e18b628a3f Reviewed-on: https://gerrit.libreoffice.org/83906 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/menubtn.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx
index 744ed69241f1..f22fe29a6166 100644
--- a/include/vcl/menubtn.hxx
+++ b/include/vcl/menubtn.hxx
@@ -38,6 +38,7 @@ private:
OString msCurItemIdent;
sal_uInt16 mnCurItemId;
bool mbDelayMenu;
+ bool mbStartingMenu;
Link<MenuButton*,void> maActivateHdl;
Link<MenuButton*,void> maSelectHdl;
@@ -62,7 +63,7 @@ public:
virtual void Select();
void ExecuteMenu();
- bool MenuShown() const;
+ bool InPopupMode() const;
void CancelMenu();
//if false then the whole button launches the menu