diff --git a/apps/spreadsheeteditor/main/app/view/WatchDialog.js b/apps/spreadsheeteditor/main/app/view/WatchDialog.js index 2424bc9a4..352beb215 100644 --- a/apps/spreadsheeteditor/main/app/view/WatchDialog.js +++ b/apps/spreadsheeteditor/main/app/view/WatchDialog.js @@ -151,6 +151,14 @@ define([ 'text!spreadsheeteditor/main/app/template/WatchDialog.template', } } this.watchList.store.reset(arr); + if (this._deletedIndex!==undefined) { + var store = this.watchList.store; + (store.length>0) && this.watchList.selectByIndex(this._deletedIndex