Skip to content

Commit

Permalink
#5397: Fix crash in Linux on opening the Find Brush dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Nov 14, 2020
1 parent c7b161c commit bc9965e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiant/ui/brush/FindBrush.cpp
Expand Up @@ -27,8 +27,8 @@ void FindBrushDialog::Show(const cmd::ArgumentList& args)
}
else
{
dialog->setElementValue(entityEntry, 0);
dialog->setElementValue(brushEntry, 0);
dialog->setElementValue(entityEntry, "0");
dialog->setElementValue(brushEntry, "0");
}

if (dialog->run() == ui::IDialog::RESULT_OK)
Expand Down

0 comments on commit bc9965e

Please sign in to comment.