Fix one case for the error visual hint in the SQL results pane

This commit is contained in:
mgrojo
2017-11-19 01:11:20 +01:00
parent 87e1b9bc7c
commit a457d29fe2

View File

@@ -1122,6 +1122,7 @@ void MainWindow::executeQuery()
// The query takes the last placeholder as it may itself contain the sequence '%' + number
statusMessage = tr("%1 rows returned in %2ms from: %3").arg(
sqlWidget->getModel()->totalRowCount()).arg(timer.elapsed()).arg(queryPart.trimmed());
ok = true;
ui->actionSqlResultsSave->setEnabled(true);
ui->actionSqlResultsSaveAsView->setEnabled(!db.readOnly());