Skip to content

Commit bc223c8

Browse files
committed
Change call order
1 parent 7dd776c commit bc223c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/notation/internal/notationinteraction.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1972,8 +1972,8 @@ bool NotationInteraction::dropRange(const QByteArray& data, const PointF& pos, b
19721972
}
19731973

19741974
if (segment->isInsideTuplet()) {
1975-
notifyAboutDropChanged();
19761975
endDrop();
1976+
notifyAboutDropChanged();
19771977
//MScore::setError(MsError::DEST_TUPLET);
19781978
//MScoreErrorsController(iocContext()).checkAndShowMScoreError();
19791979
// NOTE: if we show the error popup here it seems that the mouse-release event is missed
@@ -2015,8 +2015,8 @@ bool NotationInteraction::dropRange(const QByteArray& data, const PointF& pos, b
20152015
XmlReader e(data);
20162016
score()->pasteStaff(e, segment, staffIdx);
20172017

2018-
apply();
20192018
endDrop();
2019+
apply();
20202020

20212021
MScoreErrorsController(iocContext()).checkAndShowMScoreError();
20222022

0 commit comments

Comments
 (0)