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
Please register or sign in to comment