diff --git a/src/QmlControls/MissionCommandDialog.qml b/src/QmlControls/MissionCommandDialog.qml index 77197db28a4b79ec2c44d2d6537baa1a758c6e30..d41004f7e3660ddcc9ff793b2f1e147b9647b4e2 100644 --- a/src/QmlControls/MissionCommandDialog.qml +++ b/src/QmlControls/MissionCommandDialog.qml @@ -49,7 +49,6 @@ QGCViewDialog { function categorySelected(category) { commandList.model = QGroundControl.missionCommands.getCommandsForCategory(category) - console.log("changing model", category) } Component.onCompleted: { @@ -71,33 +70,13 @@ QGCViewDialog { spacing: ScreenTools.defaultFontPixelHeight / 2 orientation: ListView.Vertical - onModelChanged: { - var currentCategory = categoryCombo.currentText - - currentIndex = -1 - if (missionItem.category == currentCategory) { - var commandList = QGroundControl.missionCommands.getCommandsForCategory(currentCategory) - for (var i=0; i