Skip to content
Verified Commit 8bfd1e94 authored by Elias Probst's avatar Elias Probst
Browse files

Prevent "TypeError: Cannot read property 'Layout' of null" warning on plasmashell startup

Summary:
When starting `plasmashell`, the following warning was displayed:
```
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:83: TypeError: Cannot read property 'Layout' of null
```

This adds a check whether the `containment` is available before attempting to use its layout.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2850
parent 5c966a42
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