mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05:00
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:
parent
67c5ef9c8a
commit
a967405c84
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user