fix #91536: crash adding figured bass to palette
This commit is contained in:
parent
600306e1ec
commit
d5351f7ebc
1 changed files with 1 additions and 1 deletions
|
@ -1111,7 +1111,7 @@ void FiguredBass::layout()
|
|||
|
||||
void FiguredBass::layoutLines()
|
||||
{
|
||||
if(_ticks <= 0) {
|
||||
if(_ticks <= 0 || segment() == nullptr) {
|
||||
NoLen:
|
||||
_lineLenghts.resize(1); // be sure to always have
|
||||
_lineLenghts[0] = 0; // at least 1 item in array
|
||||
|
|
Loading…
Reference in a new issue