Skip to content

Commit

Permalink
don’t assign to Element.parent
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilos committed May 6, 2021
1 parent f1eaa27 commit 51d32b5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion count-note-beats.qml
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ MuseScore {
}

var text = newElement(Element.STAFF_TEXT);
text.parent = cursor.element;
text.text = "" + b;

if (text.text == "")
Expand Down
1 change: 0 additions & 1 deletion notenames-as-lyrics.qml
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ MuseScore {
return;

var text = newElement(Element.LYRICS);
text.parent = cursor.element;
text.text = "";
var notes = cursor.element.notes;
var sep = "";
Expand Down
1 change: 0 additions & 1 deletion notenames-as-stafftext.qml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ MuseScore {
return;

var text = newElement(Element.STAFF_TEXT);
text.parent = cursor.element;
text.text = "";
var notes = cursor.element.notes;
var sep = "";
Expand Down

0 comments on commit 51d32b5

Please sign in to comment.