diff --git a/Source/PlasticSourceControl/Private/PlasticSourceControlOperations.cpp b/Source/PlasticSourceControl/Private/PlasticSourceControlOperations.cpp index 189bafe3..ecfacfe1 100644 --- a/Source/PlasticSourceControl/Private/PlasticSourceControlOperations.cpp +++ b/Source/PlasticSourceControl/Private/PlasticSourceControlOperations.cpp @@ -1083,7 +1083,7 @@ bool FPlasticUnlockWorker::Execute(FPlasticSourceControlCommand& InCommand) check(InCommand.Operation->GetName() == GetName()); TSharedRef Operation = StaticCastSharedRef(InCommand.Operation); - if (!Operation->Locks.IsEmpty()) + if (Operation->Locks.Num() > 0) { // The View Locks window works with object specs using ItemIds and Branch names // The unlock operation works on a per-branch basis when multiple Lock destinations are involved