Merge pull request #2863 from Trial97/fix_resource_search_equal
This commit is contained in:
commit
62f19a6ac9
1 changed files with 3 additions and 1 deletions
|
@ -258,7 +258,9 @@ void ResourceDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* s
|
|||
}
|
||||
|
||||
// Same effect as having a global search bar
|
||||
selectedPage()->setSearchTerm(prev_page->getSearchTerm());
|
||||
ResourcePage* result = dynamic_cast<ResourcePage*>(selected);
|
||||
Q_ASSERT(result != nullptr);
|
||||
result->setSearchTerm(prev_page->getSearchTerm());
|
||||
}
|
||||
|
||||
ModDownloadDialog::ModDownloadDialog(QWidget* parent, const std::shared_ptr<ModFolderModel>& mods, BaseInstance* instance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue