[bug] Disable actions on selection changes

@dinhviethoa 

Fixes #2460 
Could you change that call to  treeViewSelectedChanged(_treeView, updatedSelection)?