Skip to content

Commit 6076cc4

Browse files
authored
Merge pull request #4029 from dmitrio95/276539-dragedit-edit-crash
fix #276539: correct switching from drag-edit mode to edit mode
2 parents 4c6f877 + 9be7c40 commit 6076cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mscore/events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ void ScoreView::changeState(ViewState s)
882882
startEdit();
883883
break;
884884
case ViewState::EDIT:
885-
if (state != ViewState::DRAG_EDIT)
885+
if ( !((mscoreState() & STATE_ALLTEXTUAL_EDIT) && state == ViewState::DRAG_EDIT) )
886886
startEdit();
887887
break;
888888
case ViewState::LASSO:

0 commit comments

Comments
 (0)