Skip to content

Commit

Permalink
fix #285602: note line does not appear until reload
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Apr 24, 2019
1 parent 79df480 commit 17c3bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmscore/line.cpp
Expand Up @@ -820,12 +820,12 @@ SpannerSegment* SLine::layoutSystem(System* system)
//---------------------------------------------------------
// layout
// compute segments from tick1 tick2
// (obsolete)
// (used for palette, edit mode, and layout of note lines and glissandi)
//---------------------------------------------------------

void SLine::layout()
{
if (score() == gscore || (tick() == Fraction(-1,1)) || (ticks() == Fraction(0,1))) {
if (score() == gscore || (tick() == Fraction(-1,1)) || (tick2() == Fraction::fromTicks(1))) {
//
// when used in a palette or while dragging from palette,
// SLine has no parent and
Expand Down

0 comments on commit 17c3bfa

Please sign in to comment.