mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 20:31:47 +00:00
Clear search filter before hiding the top toolbar
This commit is contained in:
parent
33988e70ab
commit
d93447489b
@ -916,6 +916,8 @@ void GUI::loadPreferences(bool configure_session) {
|
|||||||
toolBar->setVisible(true);
|
toolBar->setVisible(true);
|
||||||
toolBar->layout()->setSpacing(7);
|
toolBar->layout()->setSpacing(7);
|
||||||
} else {
|
} else {
|
||||||
|
// Clear search filter before hiding the top toolbar
|
||||||
|
search_filter->clear();
|
||||||
toolBar->setVisible(false);
|
toolBar->setVisible(false);
|
||||||
}
|
}
|
||||||
const uint new_refreshInterval = Preferences::getRefreshInterval();
|
const uint new_refreshInterval = Preferences::getRefreshInterval();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user