on xenial help sign in
Clear the singleton data on scope change
commit14dccb51bde9e95e34e87ba99fbbc726f1ae0d87 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 25 Jul 2016, 17:39 (10 years ago) parent92dd935
1 file changed+4
qml/Dash/GenericScopeView.qml+4
qml/Dash/GenericScopeView.qml+4
@@ -23,6 +23,7 @@ import Unity 0.2
2323import Dash 0.1
2424import "../Components"
2525import "../Components/ListItems" as ListItems
26+import "Previews/PreviewSingleton"
2627
2728FocusScope {
2829 id: scopeView
@@ -127,6 +128,9 @@ FocusScope {
127128 PopupUtils.close(filtersPopover)
128129 scopeView.filtersPopover = null;
129130 }
131+ if (!isCurrent) {
132+ PreviewSingleton.widgetExtraData = new Object();
133+ }
130134 }
131135
132136 Binding {