fixed the empty inspector after opening the Score page

This commit is contained in:
Roman Pudashkin 2022-03-31 16:59:21 +02:00
parent 064eb06ab7
commit 5b5ac90367

View file

@ -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()) {