--- a/src/qtgui/rclmain_w.cpp
+++ b/src/qtgui/rclmain_w.cpp
@@ -777,6 +777,7 @@
return;
}
m_queryActive = true;
+ restable->setEnabled(false);
m_source = RefCntr<DocSequence>();
m_searchIsSimple = issimple;
@@ -787,6 +788,7 @@
if (!maybeOpenDb(reason, m_idxproc != 0)) {
QMessageBox::critical(0, "Recoll", QString(reason.c_str()));
m_queryActive = false;
+ restable->setEnabled(true);
return;
}
@@ -876,6 +878,7 @@
statusBar()->showMessage(msg, 0);
QApplication::restoreOverrideCursor();
m_queryActive = false;
+ restable->setEnabled(true);
emit(resultsReady());
}