a better way to clear the selection

This commit is contained in:
Myk Melez 2008-07-30 00:08:27 -07:00
Родитель 8eaf8fa80c
Коммит 504013e5c8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
},