Commit 4e3f6193cd395aab284100211440a177f5039ae8

Authored by Nathanaël Jourdane
1 parent 7348b580

Fix right-click bug

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
js/app/views/ExplorerUI.js
... ... @@ -506,6 +506,9 @@ Ext.define('amdaUI.ExplorerUI', {
506 506 },
507 507  
508 508 itemcontextmenu: function(view, rec, item, index, e){
  509 + // Add record to selection model
  510 + view.ownerCt.getSelectionModel().select(rec);
  511 +
509 512 // block other events
510 513 e.stopEvent();
511 514  
... ...