Skip to content

Commit

Permalink
Grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaRogachev committed Mar 14, 2017
1 parent b288a9f commit 98e889d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/presentation/qml/Views/MainView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 98e889d

Please sign in to comment.