Skip to content

Commit

Permalink
Revert "Do not allow for blind searches"
Browse files Browse the repository at this point in the history
This reverts commit ce31cc6.
  • Loading branch information
tobiolo committed Sep 14, 2024
1 parent 2ae23d9 commit d7d114e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/myframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,6 @@ struct MyFrame : wxFrame {
}

void OnSearch(wxCommandEvent &ce) {
if (!sys->showtoolbar) return;
wxString searchstring = ce.GetString();
sys->darkennonmatchingcells = searchstring.Len() != 0;
sys->searchstring = (sys->casesensitivesearch) ? searchstring : searchstring.Lower();
Expand All @@ -1089,7 +1088,6 @@ struct MyFrame : wxFrame {
}

void OnSearchReplaceEnter(wxCommandEvent &ce) {
if (!sys->showtoolbar) return;
TSCanvas *sw = GetCurTab();
if (ce.GetId() == A_SEARCH && ce.GetString().Len() == 0) {
sw->SetFocus();
Expand Down

0 comments on commit d7d114e

Please sign in to comment.