diff --git a/libmscore/textbase.cpp b/libmscore/textbase.cpp index 21f4d77a8ddf..272a7c55018a 100644 --- a/libmscore/textbase.cpp +++ b/libmscore/textbase.cpp @@ -2450,7 +2450,6 @@ void TextBase::initTid(Tid tid, bool preserveDifferent) initTid(tid); else { setTid(tid); - qDebug("preserving different"); for (const StyledProperty& p : *textStyle(tid)) { if (getProperty(p.pid) == propertyDefault(p.pid)) setProperty(p.pid, styleValue(p.pid, p.sid)); diff --git a/mscore/editfiguredbass.cpp b/mscore/editfiguredbass.cpp index 30ef3b33429d..53a2b2b1f88e 100644 --- a/mscore/editfiguredbass.cpp +++ b/mscore/editfiguredbass.cpp @@ -98,7 +98,6 @@ void ScoreView::figuredBassTab(bool bMeas, bool bBack) changeState(ViewState::NORMAL); - _score->startCmd(); bool bNew; // add a (new) FB element, using chord duration as default duration FiguredBass * fbNew = FiguredBass::addFiguredBassToSegment(nextSegm, track, 0, &bNew); @@ -106,9 +105,11 @@ void ScoreView::figuredBassTab(bool bMeas, bool bBack) _score->undoAddElement(fbNew); _score->select(fbNew, SelectType::SINGLE, 0); startEdit(fbNew, Grip::NO_GRIP); + + _score->startCmd(); mscore->changeState(mscoreState()); adjustCanvasPosition(fbNew, false); -//TODO-edit ((FiguredBass*)editData.element)->moveCursorToEnd(); + fbNew->cursor(editData)->moveCursorToEnd(); // _score->update(); // used by lyricsTab() but not by harmonyTab(): needed or not? }