fixed the empty inspector after opening the Score page
This commit is contained in:
parent
064eb06ab7
commit
5b5ac90367
1 changed files with 4 additions and 2 deletions
|
@ -75,8 +75,10 @@ void InspectorListModel::setElementList(const QList<Ms::EngravingItem*>& selecte
|
|||
{
|
||||
TRACEFUNC;
|
||||
|
||||
if (!m_repository->needUpdateElementList(selectedElementList, selectionState)) {
|
||||
return;
|
||||
if (!m_modelList.isEmpty()) {
|
||||
if (!m_repository->needUpdateElementList(selectedElementList, selectionState)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (selectedElementList.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue