diff --git a/src/notation/internal/notationinteraction.cpp b/src/notation/internal/notationinteraction.cpp index 9b0371efef184..d4a676cffec4a 100644 --- a/src/notation/internal/notationinteraction.cpp +++ b/src/notation/internal/notationinteraction.cpp @@ -2239,7 +2239,7 @@ void NotationInteraction::deleteSelection() auto textBase = toTextBase(m_textEditData.element); if (!textBase->deleteSelectedText(m_textEditData)) { m_textEditData.key = Qt::Key_Backspace; - m_textEditData.modifiers = 0; + m_textEditData.modifiers = {}; textBase->edit(m_textEditData); } } else { diff --git a/src/notation/qml/MuseScore/NotationScene/NoteInputBar.qml b/src/notation/qml/MuseScore/NotationScene/NoteInputBar.qml index afdb3a8a12609..6b0d03a2732dd 100644 --- a/src/notation/qml/MuseScore/NotationScene/NoteInputBar.qml +++ b/src/notation/qml/MuseScore/NotationScene/NoteInputBar.qml @@ -98,9 +98,9 @@ Rectangle { isClickOnKeyNavTriggered: false navigation.onTriggered: { if (hasMenu && item.isMenuSecondary) { - btn.pressAndHold() + btn.pressAndHold(null) } else { - btn.clicked() + btn.clicked(null) } }