Fix hang in collectionsTreeView::selectWait() if row is already selected

This commit is contained in:
Dan Stillman 2015-05-25 01:43:07 -04:00
parent 43762248a4
commit cbbdebc5b7
6 changed files with 19 additions and 4 deletions

View file

@ -41,6 +41,7 @@ function loadBrowserWindow() {
*/
var loadZoteroPane = Zotero.Promise.coroutine(function* () {
var win = yield loadBrowserWindow();
Zotero.Prefs.clear('lastViewedFolder');
win.ZoteroOverlay.toggleDisplay(true);
// Hack to wait for pane load to finish. This is the same hack