on xenial help sign in
also cancel any pending actions
9bdae0bMichael Zanetti
Dash/GenericScopeView.qml+3−1
@@ -352,10 +352,12 @@ ScopeView {
352 onScreen = true;
352 onScreen = true;
353 categoryDelegate.highlightIndex = currentIndex;
353 categoryDelegate.highlightIndex = currentIndex;
354 } else {
354 } else {
355+ // Cancel any pending preview requests or actions
356+ previewListView.currentItem.previewData.cancelAction();
357+ scopeView.scope.cancelActivation();
355 model = undefined;
358 model = undefined;
356 categoryView.correctExpandedCategory();
359 categoryView.correctExpandedCategory();
357 categoryDelegate.highlightIndex = -1;
360 categoryDelegate.highlightIndex = -1;
358− scopeView.scope.cancelActivation();
359 }
361 }
360 }
362 }
361
363