[LyX/master] Add bug reference.
Pavel Sanda
sanda at lyx.org
Mon Jul 3 20:42:35 UTC 2023
commit 9d8bef017bbe4946ba0423d5b57a6bbeb21813d4
Author: Pavel Sanda <sanda at 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());
More information about the lyx-cvs
mailing list