Merge pull request #1453 from MarcSabatella/38991-cursor-jump-updown
fix #38991: cursor jump on up/down if layout changes
This commit is contained in:
commit
f783a7449b
1 changed files with 3 additions and 3 deletions
|
@ -3435,10 +3435,10 @@ void Score::setPos(POS pos, int tick)
|
|||
{
|
||||
if (tick < 0)
|
||||
tick = 0;
|
||||
if (tick != _pos[int(pos)]) {
|
||||
if (tick != _pos[int(pos)])
|
||||
_pos[int(pos)] = tick;
|
||||
emit posChanged(pos, unsigned(tick));
|
||||
}
|
||||
// even though tick position might not have changed, layout might have
|
||||
emit posChanged(pos, unsigned(tick));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue