summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-20 15:41:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-20 20:27:52 +0200
commit159ce7f29b0129e411276591e11eea6a30a981ab (patch)
tree8c564a6f0d27fe41dc2d6c0b120abc635d06d1b8
parent5054f7067cc5ee43933893b682e02540fce043b4 (diff)
indicate popup menu was shown
Change-Id: I4d0e8f31fd8c30368497e52c6eb1ba2b7e960bab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96773 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index e1d640caa3f9..ed8e87abf2c8 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -288,6 +288,8 @@ IMPL_LINK(SwGlobalTree, CommandHdl, const CommandEvent&, rCEvt, bool)
OString sCommand = xPopup->popup_at_rect(m_xTreeView.get(), tools::Rectangle(rCEvt.GetMousePosPixel(), Size(1,1)));
if (!sCommand.isEmpty())
ExecuteContextMenuAction(sCommand);
+
+ bPop = true;
}
return bPop;
}