Skip to content

Commit

Permalink
Remove messagebox from search event
Browse files Browse the repository at this point in the history
This causes a lock up and is non-standard with other program's search behaviour anyway
  • Loading branch information
Blake-Madden committed Sep 9, 2024
1 parent 40f805c commit 84818c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/controls/searchpanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ void SearchPanel::OnSearch(wxCommandEvent& event)
{
if (m_search->GetValue().empty())
{
wxMessageBox(_(L"Please enter an item to search for."), _(L"Search"),
wxOK | wxICON_INFORMATION, nullptr);
return;
}
m_previousSearches.push_back(m_search->GetValue());
Expand Down

0 comments on commit 84818c6

Please sign in to comment.