Browse Source

Clear search filter before hiding the top toolbar

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
d93447489b
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -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…
Cancel
Save