Skip to content

Commit

Permalink
clear selection should also clear start and end segment
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Feb 7, 2013
1 parent 65790b2 commit 3d55d90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libmscore/select.cpp
Expand Up @@ -207,6 +207,12 @@ void Selection::clear()
_score->addRefresh(e->canvasBoundingRect());
}
_el.clear();
_startSegment = 0;
_endSegment = 0;
_activeSegment = 0;
_staffStart = 0;
_staffEnd = 0;
_activeTrack = 0;
setState(SEL_NONE);
}

Expand Down

0 comments on commit 3d55d90

Please sign in to comment.