on xenial help sign in
More verbose name
commit7a9c8699b7f29a3713eb108ac30b40c22d637dad authorAlbert Astals <albert.astals@canonical.com> dateThu 28 Aug 2014, 12:08 (12 years ago) parent81b336b
1 file changed+3−3
qml/Dash/PageHeader.qml+3−3
qml/Dash/PageHeader.qml+3−3
@@ -66,7 +66,7 @@ Item {
6666
6767 function closePopup(keepFocus) {
6868 if (headerContainer.popover != null) {
69− headerContainer.popover.unfocus = !keepFocus;
69+ headerContainer.popover.unfocusOnDestruction = !keepFocus;
7070 PopupUtils.close(headerContainer.popover);
7171 } else if (!keepFocus) {
7272 unfocus();
@@ -309,11 +309,11 @@ Item {
309309 id: popover
310310 autoClose: false
311311
312− property bool unfocus: false
312+ property bool unfocusOnDestruction: false
313313
314314 Component.onDestruction: {
315315 headerContainer.popover = null;
316− if (unfocus) {
316+ if (unfocusOnDestruction) {
317317 root.unfocus();
318318 }
319319 }