summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/shortcutmanager.h
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2016-10-14 17:18:24 +0200
committerTim Jenssen <tim.jenssen@qt.io>2016-10-14 15:20:00 +0000
commit5da074f95a0a8fcc548a5b0bad4fe50a5fa11e5a (patch)
tree0a5d23a3b2a4045e92c72162559f3f3f2b3484a5 /src/plugins/qmldesigner/shortcutmanager.h
parentf70d1359c0df15139be96c711b2df6174d09a1ce (diff)
downloadqt-creator-5da074f95a0a8fcc548a5b0bad4fe50a5fa11e5a.tar.gz
QmlDesigner: Fix ESC issues
We do not want to switch to the editor whenever pressing ESCAPE. Using shortcut override does not work for QQuickWidget. Therefore we register our own action and disable it. Change-Id: I399265a5254767d2825edf3fe823dd35177a6ce5 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/shortcutmanager.h')
-rw-r--r--src/plugins/qmldesigner/shortcutmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/shortcutmanager.h b/src/plugins/qmldesigner/shortcutmanager.h
index 226babb987..310b08d69c 100644
--- a/src/plugins/qmldesigner/shortcutmanager.h
+++ b/src/plugins/qmldesigner/shortcutmanager.h
@@ -91,6 +91,7 @@ private:
QAction m_toggleLeftSidebarAction;
QAction m_toggleRightSidebarAction;
QAction m_goIntoComponentAction;
+ QAction m_escapeAction;
};
} // namespace QmlDesigner