@@ -66,7 +66,7 @@ Item {
67 function closePopup(keepFocus) {
67 function closePopup(keepFocus) {
68 if (headerContainer.popover != null) {
68 if (headerContainer.popover != null) {
69− headerContainer.popover.unfocus = !keepFocus;
69+ headerContainer.popover.unfocusOnDestruction = !keepFocus;
70 PopupUtils.close(headerContainer.popover);
70 PopupUtils.close(headerContainer.popover);
71 } else if (!keepFocus) {
71 } else if (!keepFocus) {
72 unfocus();
72 unfocus();
@@ -309,11 +309,11 @@ Item {
309 id: popover
309 id: popover
310 autoClose: false
310 autoClose: false
312− property bool unfocus: false
312+ property bool unfocusOnDestruction: false
314 Component.onDestruction: {
314 Component.onDestruction: {
315 headerContainer.popover = null;
315 headerContainer.popover = null;
316− if (unfocus) {
316+ if (unfocusOnDestruction) {
317 root.unfocus();
317 root.unfocus();