commit 9d8bef017bbe4946ba0423d5b57a6bbeb21813d4 Author: Pavel Sanda <sa...@lyx.org> Date: Mon Jul 3 23:54:34 2023 +0200
Add bug reference. --- src/frontends/qt/GuiWorkArea.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp index 7433c28..3cd5f47 100644 --- a/src/frontends/qt/GuiWorkArea.cpp +++ b/src/frontends/qt/GuiWorkArea.cpp @@ -653,7 +653,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e) } } if (e->reason() == QContextMenuEvent::Keyboard) - // Subtract the top margin + // Subtract the top margin, see #12811 pos.setY(pos.y() - d->buffer_view_->topMargin()); name = d->buffer_view_->contextMenu(pos.x(), pos.y()); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs