diff --git a/ScreenPlay/qml/Monitors.qml b/ScreenPlay/qml/Monitors.qml index b842f68d..91ebbbb7 100644 --- a/ScreenPlay/qml/Monitors.qml +++ b/ScreenPlay/qml/Monitors.qml @@ -13,6 +13,9 @@ Item { onStateChanged: { bgMouseArea.focus = monitors.state == "active" ? true : false + if(monitors.state === "active"){ + screenPlay.requestProjectSettingsListModelAt(at) + } } Rectangle { diff --git a/ScreenPlay/src/screenplay.cpp b/ScreenPlay/src/screenplay.cpp index 553b08ec..786c96d6 100644 --- a/ScreenPlay/src/screenplay.cpp +++ b/ScreenPlay/src/screenplay.cpp @@ -55,6 +55,7 @@ void ScreenPlay::removeAllWallpaper() { m_sdkc->closeAllWallpapers(); m_settings->setActiveWallpaperCounter(0); + m_screenPlayWallpaperList.clear(); emit allWallpaperRemoved(); } diff --git a/ScreenPlay/src/sdkconnector.cpp b/ScreenPlay/src/sdkconnector.cpp index 286c929e..0f38af12 100644 --- a/ScreenPlay/src/sdkconnector.cpp +++ b/ScreenPlay/src/sdkconnector.cpp @@ -23,6 +23,8 @@ void SDKConnector::closeAllWallpapers() { for (int i = 0; i < m_clients.size(); ++i) { m_clients.at(i)->close(); + m_clients.clear(); + m_clients.squeeze(); } }