diff --git a/resources/qml/Actions.qml b/resources/qml/Actions.qml index 5b5a73a81a..29bd573d12 100644 --- a/resources/qml/Actions.qml +++ b/resources/qml/Actions.qml @@ -40,6 +40,14 @@ Item { property alias reportBug: reportBugAction; property alias about: aboutAction; + property alias toggleFullScreen: toggleFullScreenAction; + + Action + { + id:toggleFullScreenAction + shortcut: StandardKey.FullScreen; + } + Action { id: undoAction; //: Undo action diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 2388f0d5e7..7b9828711f 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -12,7 +12,6 @@ import UM 1.1 as UM UM.MainWindow { id: base visible: true - //: Cura application window title title: qsTr("Cura"); @@ -425,6 +424,8 @@ UM.MainWindow { reportBug.onTriggered: CuraActions.openBugReportPage(); showEngineLog.onTriggered: engineLog.visible = true; about.onTriggered: aboutDialog.visible = true; + toggleFullScreen.onTriggered: base.toggleFullscreen() + } Menu {