Keep the UI responsive when executing many statements in Execute SQL tab

This commit is contained in:
Martin Kleusberg
2017-05-04 19:08:38 +02:00
parent 6da71b6788
commit b5651d8b4d

View File

@@ -1026,6 +1026,9 @@ void MainWindow::executeQuery()
}
execution_start_index = execution_end_index;
// Process events to keep the UI responsive
qApp->processEvents();
}
sqlWidget->finishExecution(statusMessage);
plotDock->updatePlot(sqlWidget->getModel());