diff --git a/sources/presentation/qml/Views/MainView.qml b/sources/presentation/qml/Views/MainView.qml index 991823fd..23311b0a 100644 --- a/sources/presentation/qml/Views/MainView.qml +++ b/sources/presentation/qml/Views/MainView.qml @@ -51,11 +51,11 @@ ApplicationWindow { Loader { anchors.fill: parent - sourceComponent: creteModeView(mode) + sourceComponent: createModeView(mode) onItemChanged: if (item) item.objectName = mode } - function creteModeView(mode) { + function createModeView(mode) { switch (mode) { case "flight": return Qt.createComponent("Flight/FlightView.qml"); case "mission": return Qt.createComponent("Mission/MissionView.qml");