summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-04-03 17:08:42 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-04-03 23:14:51 +0200
commit3bf0727bb03f1b330e9c43f9f5d7eb3bced08e2e (patch)
tree874e66fc8e792bad59d01bebb4fbb8cbf49157b7
parenttdf#117037 - Support Unicode minus (0x2212) in the number scanner (diff)
downloadcore-3bf0727bb03f1b330e9c43f9f5d7eb3bced08e2e.tar.gz
core-3bf0727bb03f1b330e9c43f9f5d7eb3bced08e2e.zip
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 <fitojb@ubuntu.com> Tested-by: Jenkins
-rw-r--r--sw/source/core/crsr/contentcontrolbutton.cxx2
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();
}