searchBarWidget->search(word);
}
+
+
void MainWindow::breakSearching() {
//make sure to unset exact search mode
setExactSearch(false);
void MainWindow::historyNext() {
if(backbone->history()->nextAvailable()) {
QString next = backbone->history()->next();
- searchExact(next);
+ searchBarWidget->searchDelay(next);
}
}
void MainWindow::historyPrev() {
if(backbone->history()->prevAvailable()) {
QString prev = backbone->history()->previous();
- searchExact(prev);
+ searchBarWidget->searchDelay(prev);
}
}
connect(backbone, SIGNAL(htmlReady()),
this, SLOT(translationsReady()));
+ connect(backbone, SIGNAL(searchCanceled()),
+ this, SIGNAL(setIdle()));
+