EXP-1755 FIX -- Can move items to Merchant Outbox during Outbox synch using Copy to Merchant Outbox context menu
* "Copy to Merchant Outbox" context menu option no longer available when marketplace import is in progress.meow-7.2.2
parent
11e192d9a7
commit
2a3b7f295f
|
|
@ -53,6 +53,7 @@
|
|||
#include "llinventorymodel.h"
|
||||
#include "llinventorymodelbackgroundfetch.h"
|
||||
#include "llinventorypanel.h"
|
||||
#include "llmarketplacefunctions.h"
|
||||
#include "llnotifications.h"
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llpreviewanim.h"
|
||||
|
|
@ -1132,6 +1133,15 @@ BOOL LLInvFVBridge::canListOnMarketplaceNow() const
|
|||
}
|
||||
}
|
||||
|
||||
// Do not allow listing while import is in progress
|
||||
if (LLMarketplaceInventoryImporter::instanceExists())
|
||||
{
|
||||
if (LLMarketplaceInventoryImporter::instance().isImportInProgress())
|
||||
{
|
||||
can_list = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
return can_list;
|
||||
|
|
|
|||
Loading…
Reference in New Issue