mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Extract YACReaderNavigationController::exitSearchMode()
This commit is contained in:
committed by
Luis Ángel San Martín
parent
3a60d89f06
commit
40ca07f8f8
@ -2726,3 +2726,12 @@ void LibraryWindow::updateComicsView(quint64 libraryId, const ComicDB &comic)
|
||||
comicsViewsManager->updateCurrentComicView();
|
||||
}
|
||||
}
|
||||
|
||||
bool LibraryWindow::exitSearchMode()
|
||||
{
|
||||
if (status != LibraryWindow::Searching)
|
||||
return false;
|
||||
searchEdit->clearText();
|
||||
clearSearchFilter();
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user