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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue