Merge pull request #3342 from raman-bt/develop

937: Accounts sub-trees do not refresh their contents after being ini…
This commit is contained in:
Richard Cordovano 2017-12-20 12:55:07 -05:00 committed by GitHub
commit 9fd9b29982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,6 +289,11 @@ final public class Accounts implements AutopsyVisitableItem {
} catch (TskCoreException | SQLException ex) {
LOGGER.log(Level.SEVERE, "Error querying for account_types", ex);
}
// quickfix for 937
// refresh the children for each account type
list.forEach(this::refreshKey);
return list;
}