Verified Commit f319bd39 authored by Fushan Wen's avatar Fushan Wen
Browse files

containments/panel: check null configOverlay

(cherry picked from commit d8e5db83)
parent 5e25b6ab
Pipeline #234689 passed with stage
in 3 minutes and 15 seconds
......@@ -144,8 +144,10 @@ function checkLastSpacer() {
Plasmoid.onUserConfiguringChanged: {
if (!Plasmoid.userConfiguring) {
root.configOverlay.destroy();
root.configOverlay = null;
if (root.configOverlay) {
root.configOverlay.destroy();
root.configOverlay = null;
}
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment