Reset selected nm actions on change folder. Fixes selected all actions sometimes get disabled.

This commit is contained in:
Hadi Nategh 2018-07-05 16:34:30 +02:00
parent 71442541f5
commit 1cfe10e831

View File

@ -2126,6 +2126,10 @@ app.classes.mail = AppJS.extend(
// to reset iframes to the normal status
this.loadIframe();
// reset nm action selection, seems actions system accumulate selected items
// and that leads to corruption for selected all actions
this.et2.getWidgetById(this.nm_index).controller._selectionMgr.resetSelection();
// Abort if user selected an un-selectable node
// Use image over anything else because...?