We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab5e82 commit 8c3f5ecCopy full SHA for 8c3f5ec
src/context/internal/globalcontext.cpp
@@ -95,6 +95,16 @@ void GlobalContext::doSetCurrentNotation(const INotationPtr& notation)
95
return;
96
}
97
98
+ // End note input on the outgoing notation to prevent stale InputState
99
+ // that can cause corruption when notes are entered on the new notation
100
+ // and propagated back via linked clones (see #18437)
101
+ if (m_currentNotation) {
102
+ auto noteInput = m_currentNotation->interaction()->noteInput();
103
+ if (noteInput->isNoteInputMode()) {
104
+ noteInput->endNoteInput(false);
105
+ }
106
107
+
108
m_currentNotation = notation;
109
110
if (m_currentNotation) {
0 commit comments