Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
DolicaAkelloEgwel committed Apr 9, 2019
1 parent 1bebc76 commit 460f63c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion resources/Qtmodels/AnimatedEntity.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Entity {

property InstrumentModel instrument
property alias camera: camera
property real negativeOne: -1.0

Camera {
id: camera
Expand Down
6 changes: 1 addition & 5 deletions resources/Qtmodels/ComponentControls.qml
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,7 @@ Pane {
anchors.top: editorButton.top
anchors.right: parent.right
text: "Delete"
onClicked: {
console.log("Gonna delete something.")
components.remove_component(index)
console.log("Done deleting something.")
}
onClicked: components.remove_component(index)
buttonEnabled: removable
// The sample (at index 0) should never be removed. Don't even show it as an option.
visible: index != 0
Expand Down

0 comments on commit 460f63c

Please sign in to comment.