Skip to content

Commit

Permalink
Fix the initial creation of a workspace showing added icons on all as…
Browse files Browse the repository at this point in the history
…sets

Revert a change from 7eff1e9

Listing files and folders in the checking operation is needed for the update status operation following the checkin to know on what to operate
  • Loading branch information
SRombautsU committed May 5, 2022
1 parent 87ca22d commit 4ac3a2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ void SPlasticSourceControlSettings::LaunchCheckInOperation()
TSharedRef<FCheckIn, ESPMode::ThreadSafe> CheckInOperation = ISourceControlOperation::Create<FCheckIn>();
CheckInOperation->SetDescription(InitialCommitMessage);
FPlasticSourceControlModule& PlasticSourceControl = FModuleManager::LoadModuleChecked<FPlasticSourceControlModule>("PlasticSourceControl");
ECommandResult::Type Result = PlasticSourceControl.GetProvider().Execute(CheckInOperation, TArray<FString>(), EConcurrency::Asynchronous, FSourceControlOperationComplete::CreateSP(this, &SPlasticSourceControlSettings::OnSourceControlOperationComplete));
const TArray<FString> ProjectFiles = GetProjectFiles(); // Note: listing files and folders is only needed for the update status operation following the checkin to know on what to operate
ECommandResult::Type Result = PlasticSourceControl.GetProvider().Execute(CheckInOperation, ProjectFiles, EConcurrency::Asynchronous, FSourceControlOperationComplete::CreateSP(this, &SPlasticSourceControlSettings::OnSourceControlOperationComplete));
if (Result == ECommandResult::Succeeded)
{
DisplayInProgressNotification(CheckInOperation->GetInProgressString());
Expand Down

0 comments on commit 4ac3a2e

Please sign in to comment.