diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-04-03 17:08:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-04-03 21:01:23 +0200 |
commit | e97c8ceb003488589bf14c7ea335eaa3e1a86975 (patch) | |
tree | 10d4ce234fd5fafb16db1712b4a0b5383414bb8d /sw | |
parent | c2cc3e696e27f3ab218c56e90065f5c102ae50b6 (diff) |
tdf#152257 popup already launched, don't relaunch
Change-Id: I2503803b756fed179f6aa62cee2c549b6bc7c3c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149972
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/contentcontrolbutton.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |