on xenial help sign in
cancel any pending preview activations when closing the preview
2867297Michael Zanetti
Dash/GenericScopeView.qml+5−4
@@ -349,12 +349,13 @@ ScopeView {
349
349
350 onOpenChanged: {
350 onOpenChanged: {
351 if (open) {
351 if (open) {
352− onScreen = true
352+ onScreen = true;
353− categoryDelegate.highlightIndex = currentIndex
353+ categoryDelegate.highlightIndex = currentIndex;
354 } else {
354 } else {
355− model = undefined
355+ model = undefined;
356 categoryView.correctExpandedCategory();
356 categoryView.correctExpandedCategory();
357− categoryDelegate.highlightIndex = -1
357+ categoryDelegate.highlightIndex = -1;
358+ scopeView.scope.cancelActivation();
358 }
359 }
359 }
360 }
360
361