Fix for #9100 - Search feature in the settings is broken - every time moves the cursor at the end of the text

This commit is contained in:
YuSanka 2022-11-03 15:24:23 +01:00
parent 2eb363bc64
commit 76064fc2ba

View File

@ -594,8 +594,6 @@ void SearchDialog::ProcessSelection(wxDataViewItem selection)
void SearchDialog::OnInputText(wxCommandEvent&) void SearchDialog::OnInputText(wxCommandEvent&)
{ {
search_line->SetInsertionPointEnd();
wxString input_string = search_line->GetValue(); wxString input_string = search_line->GetValue();
if (input_string == default_string) if (input_string == default_string)
input_string.Clear(); input_string.Clear();