Set focus to the search field
issue: MatterHackers/MCCentral#6029 Typo in Update Settings text
This commit is contained in:
parent
85d59e2f09
commit
88bf857fa6
2 changed files with 8 additions and 2 deletions
|
|
@ -267,7 +267,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
|
||||
bool containerSupportsEdits = activeContainer is ILibraryWritableContainer;
|
||||
|
||||
//searchInput.Text = activeContainer.KeywordFilter;
|
||||
// searchInput.Text = activeContainer.KeywordFilter;
|
||||
breadCrumbWidget.SetContainer(activeContainer);
|
||||
|
||||
activeContainer.ContentChanged += UpdateStatus;
|
||||
|
|
@ -438,6 +438,12 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
this.AddChild(ResetButton);
|
||||
}
|
||||
|
||||
public override void OnLoad(EventArgs args)
|
||||
{
|
||||
TextEditWidget.Focus();
|
||||
base.OnLoad(args);
|
||||
}
|
||||
|
||||
public override string Text
|
||||
{
|
||||
get => TextEditWidget.ActualTextEditWidget.Text;
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ Updating the default will not change any other overrides that you may have appli
|
|||
currentText += ": " + category.Name + " > " + group.Name + " > " + settingData.PresentationName;
|
||||
|
||||
AddSetting(printer, currentText, setting.key, theme.SlightShade);
|
||||
AddSetting(oemPrinter, "Will be update to:".Localize(), setting.key, Color.Transparent);
|
||||
AddSetting(oemPrinter, "Will be updated to:".Localize(), setting.key, Color.Transparent);
|
||||
|
||||
var buttonContainer = new FlowLayoutWidget(FlowDirection.RightToLeft)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue