homescreens/folio: Don't show background for widget configure dialog

https://invent.kde.org/plasma/plasma-mobile/-/issues/320
We seem to encounter an issue when a widget is deleted where the background stays. Workaround it for now.
This commit is contained in:
Devin Lin 2024-03-03 20:16:56 -05:00
parent f3f66a5d07
commit aac41402f3

View file

@ -204,6 +204,10 @@ Item {
padding: 0
title: i18n('Widget Options')
// workaround: remove background so that it doesn't remain if the widget is deleted (and this is de-initialized without closing)
background: null
QQC2.Overlay.modal: null
// close parent dialog too
onClosed: configPopup.close()