You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none [CL 6838042 by Chris Gagnon in Main branch]
This commit is contained in:
@@ -69,6 +69,12 @@ TSharedRef<SWidget> SSourceControlSubmitListRow::GenerateWidgetForColumn(const F
|
||||
return SNullWidget::NullWidget;
|
||||
}
|
||||
|
||||
FText SSourceControlSubmitWidget::SavedChangeListDescription;
|
||||
|
||||
SSourceControlSubmitWidget::~SSourceControlSubmitWidget()
|
||||
{
|
||||
SavedChangeListDescription = ChangeListDescriptionTextCtrl->GetText();
|
||||
}
|
||||
|
||||
void SSourceControlSubmitWidget::Construct(const FArguments& InArgs)
|
||||
{
|
||||
@@ -133,6 +139,7 @@ void SSourceControlSubmitWidget::Construct(const FArguments& InArgs)
|
||||
[
|
||||
SAssignNew( ChangeListDescriptionTextCtrl, SMultiLineEditableTextBox )
|
||||
.SelectAllTextWhenFocused( true )
|
||||
.Text(SavedChangeListDescription)
|
||||
.AutoWrapText( true )
|
||||
]
|
||||
]
|
||||
@@ -384,6 +391,9 @@ void SSourceControlSubmitWidget::OnToggleSelectedCheckBox(ECheckBoxState InNewSt
|
||||
void SSourceControlSubmitWidget::FillChangeListDescription(FChangeListDescription& OutDesc)
|
||||
{
|
||||
OutDesc.Description = ChangeListDescriptionTextCtrl->GetText();
|
||||
|
||||
ChangeListDescriptionTextCtrl->SetText(FText()); // Don't save description on Submit
|
||||
|
||||
OutDesc.FilesForAdd.Empty();
|
||||
OutDesc.FilesForSubmit.Empty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user