Use original naming for sorting button in save search, fixes #155
This commit is contained in:
parent
ba55da77a9
commit
d9f9e88ee4
@ -260,7 +260,10 @@ void SearchView::Search(std::string query)
|
||||
|
||||
void SearchView::NotifySortChanged(SearchModel * sender)
|
||||
{
|
||||
sortButton->SetText("Show "+sender->GetSort());
|
||||
if(sender->GetSort() == "best")
|
||||
sortButton->SetText("By votes");
|
||||
else
|
||||
sortButton->SetText("By date");
|
||||
}
|
||||
|
||||
void SearchView::NotifyShowOwnChanged(SearchModel * sender)
|
||||
|
Loading…
Reference in New Issue
Block a user