Kaydet (Commit) 2246ab1a authored tarafından Heiko Tietze's avatar Heiko Tietze Kaydeden (comit) Samuel Mehrbrodt

tdf#113343 Floating charmap window must not have a context menu

Change-Id: I76c567047b0033ae766ab6c5161c96416e478e8e
Reviewed-on: https://gerrit.libreoffice.org/45475Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@googlemail.com>
Tested-by: 's avatarHeiko Tietze <tietze.heiko@googlemail.com>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst ebfa6465
......@@ -53,7 +53,8 @@ void SvxCharView::MouseButtonDown( const MouseEvent& rMEvt )
maMouseClickHdl.Call(this);
}
if(rMEvt.IsRight())
// suppress context menu on floating windows
if (rMEvt.IsRight() && GetSystemWindow()->GetType() != WindowType::FLOATINGWINDOW)
{
Point aPosition (rMEvt.GetPosPixel());
maPosition = aPosition;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment