diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-27 13:01:46 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2019-12-05 08:01:42 +0100 |
commit | bfe0b8776332b9cf80ca87742f59b9e713fa2977 (patch) | |
tree | f70e3eb685d6ae97bccb3940a24fe7fadab5e439 /include | |
parent | tdf#128976: properly calculate default value when writing XLS (diff) | |
download | core-bfe0b8776332b9cf80ca87742f59b9e713fa2977.tar.gz core-bfe0b8776332b9cf80ca87742f59b9e713fa2977.zip |
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>
(cherry picked from commit f8719f68f8c073c0ad473507b16fc4bd99e79baa)
Reviewed-on: https://gerrit.libreoffice.org/83987
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/menubtn.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index 90d42fc607fc..5c3008a792cb 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 |