You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
adds check of FSourceControlWindows::PromptForCheckin() return value to pop error message on failure
#jira UE-63878 #rb chris.gagnon [CL 4355106 by Eric Soulvie in Dev-Editor branch]
This commit is contained in:
@@ -2418,7 +2418,12 @@ void FAssetContextMenu::ExecuteSCCCheckIn()
|
||||
GetSelectedPackageNames(PackageNames);
|
||||
|
||||
const bool bUseSourceControlStateCache = true;
|
||||
FSourceControlWindows::PromptForCheckin(bUseSourceControlStateCache, PackageNames);
|
||||
const bool bCheckinGood = FSourceControlWindows::PromptForCheckin(bUseSourceControlStateCache, PackageNames);
|
||||
|
||||
if (!bCheckinGood)
|
||||
{
|
||||
FMessageDialog::Open(EAppMsgType::Ok, NSLOCTEXT("UnrealEd", "SCC_Checkin_Failed", "Check-in failed as a result of save failure."));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user