diff --git a/src/gui/Base/HMenuItemPopupSpawner.qml b/src/gui/Base/HMenuItemPopupSpawner.qml index 280c98db..b3e8847c 100644 --- a/src/gui/Base/HMenuItemPopupSpawner.qml +++ b/src/gui/Base/HMenuItemPopupSpawner.qml @@ -14,10 +14,11 @@ HMenuItem { utils.makePopup( popup, - null, + window, utils.objectUpdate( { focusOnClosed: menu.previouslyFocused }, properties, ), + null, autoDestruct, ) }