Added one more check of RsAutoUpdatePage::eventsLocked to GxsIdDetails::process

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-03-16 12:57:12 +00:00
parent 67c5ef9c8a
commit a967405c84

View File

@ -207,7 +207,7 @@ bool GxsIdDetails::process(const RsGxsId &id, GxsIdDetailsCallbackFunction callb
// the GUI thread, which is not allowed by Qt => some avatars fail to load.
bool isGuiThread = (QThread::currentThread() == qApp->thread());
if (isGuiThread && rsIdentity && rsIdentity->getIdDetails(id, details)) {
if (isGuiThread && !RsAutoUpdatePage::eventsLocked() && rsIdentity && rsIdentity->getIdDetails(id, details)) {
callback(GXS_ID_DETAILS_TYPE_DONE, details, object, data);
return true;
}