sw/source/core/crsr/contentcontrolbutton.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 3bf0727bb03f1b330e9c43f9f5d7eb3bced08e2e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Apr 3 17:08:42 2023 +0100 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Mon Apr 3 23:14:51 2023 +0200 tdf#152257 popup already launched, don't relaunch Change-Id: I2503803b756fed179f6aa62cee2c549b6bc7c3c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149974 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Tested-by: Jenkins diff --git a/sw/source/core/crsr/contentcontrolbutton.cxx b/sw/source/core/crsr/contentcontrolbutton.cxx index 908d5f1bff01..0d805cb492c3 100644 --- a/sw/source/core/crsr/contentcontrolbutton.cxx +++ b/sw/source/core/crsr/contentcontrolbutton.cxx @@ -88,6 +88,8 @@ void SwContentControlButton::MouseButtonDown(const MouseEvent&) { StartPopup(); void SwContentControlButton::StartPopup() { + if (m_xPopup) // tdf#152257 already launched, don't relaunch + return; LaunchPopup(); Invalidate(); }