Add bug reference.

This commit is contained in:
Pavel Sanda 2023-07-03 23:54:34 +02:00
parent d5a9699794
commit 9d8bef017b

View File

@ -653,7 +653,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e)
} }
} }
if (e->reason() == QContextMenuEvent::Keyboard) if (e->reason() == QContextMenuEvent::Keyboard)
// Subtract the top margin // Subtract the top margin, see #12811
pos.setY(pos.y() - d->buffer_view_->topMargin()); pos.setY(pos.y() - d->buffer_view_->topMargin());
name = d->buffer_view_->contextMenu(pos.x(), pos.y()); name = d->buffer_view_->contextMenu(pos.x(), pos.y());