From 7a05fb40d839fb71e3326dc4b3d2043f64a0ce22 Mon Sep 17 00:00:00 2001 From: Torsten Paul Date: Sat, 26 Apr 2014 23:04:09 +0200 Subject: [PATCH] Fix keyboard shortcuts in automatically generated actions (fixes #408). Having our own "copy" menu did cause the automatically generated action of the QTextEditor used as console to drop the CTRL+C link. Using the WidgetWithChildrenShortcut settings seems to fix that for Qt4 and Qt5. --- src/MainWindow.ui | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/MainWindow.ui b/src/MainWindow.ui index bc08250d..5335d465 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -419,6 +419,9 @@ Ctrl+Z + + Qt::WidgetWithChildrenShortcut + @@ -427,6 +430,9 @@ Ctrl+Shift+Z + + Qt::WidgetWithChildrenShortcut + @@ -435,6 +441,9 @@ Ctrl+X + + Qt::WidgetWithChildrenShortcut + @@ -443,6 +452,9 @@ Ctrl+C + + Qt::WidgetWithChildrenShortcut + @@ -451,6 +463,9 @@ Ctrl+V + + Qt::WidgetWithChildrenShortcut +