Commit 4c024623 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files


Make sure we don't call a null object
parent fe2c8ad9
......@@ -149,7 +149,7 @@ QtObject {
// When no explicit screen corner is configured,
// restrict notification popup position by horizontal panel width
if (notificationSettings.popupPosition === NotificationManager.Settings.CloseToWidget
if (visualParent && notificationSettings.popupPosition === NotificationManager.Settings.CloseToWidget
&& plasmoid.formFactor === PlasmaCore.Types.Horizontal) {
const visualParentWindow = visualParent.Window.window;
if (visualParentWindow) {
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