diff options
Diffstat (limited to 'vcl/qt5/QtWidget.cxx')
-rw-r--r-- | vcl/qt5/QtWidget.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/qt5/QtWidget.cxx b/vcl/qt5/QtWidget.cxx index a7c4f32e92..996a0a7cc9 100644 --- a/vcl/qt5/QtWidget.cxx +++ b/vcl/qt5/QtWidget.cxx @@ -697,6 +697,9 @@ bool QtWidget::handleEvent(QtFrame& rFrame, QWidget& rWidget, QEvent* pEvent) // is called below (s. tdf#122053) if (!pEvent->spontaneous()) { + // accept event so shortcut action (from menu) isn't triggered in addition + // to the processing for the spontaneous event further below + pEvent->accept(); return false; } |