зеркало из https://github.com/mozilla/snowl.git
a better way to clear the selection
This commit is contained in:
Родитель
8eaf8fa80c
Коммит
504013e5c8
|
@ -253,7 +253,7 @@ this._log.info("get rowCount: " + this._collection.messages.length);
|
|||
// Since the number of rows might have changed, we rebuild the view
|
||||
// by reinitializing it instead of merely invalidating the box object
|
||||
// (which wouldn't accommodate changes to the number of rows).
|
||||
this._tree.view.selection = null;
|
||||
this._tree.view.selection.clearSelection();
|
||||
this._tree.view = this;
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче