mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Clear search filter before hiding the top toolbar
This commit is contained in:
parent
33988e70ab
commit
d93447489b
1 changed files with 2 additions and 0 deletions
|
@ -916,6 +916,8 @@ void GUI::loadPreferences(bool configure_session) {
|
|||
toolBar->setVisible(true);
|
||||
toolBar->layout()->setSpacing(7);
|
||||
} else {
|
||||
// Clear search filter before hiding the top toolbar
|
||||
search_filter->clear();
|
||||
toolBar->setVisible(false);
|
||||
}
|
||||
const uint new_refreshInterval = Preferences::getRefreshInterval();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue