mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-22 12:01:27 -06:00
Optimise success message in Execute SQL tab
Change the success message for SELECT statement so that the amount of time taken comes before the SQL statement itself because the time is a new information whereas the statement is just a repitition for the user. See issue #381.
This commit is contained in:
@@ -809,7 +809,7 @@ void MainWindow::executeQuery()
|
||||
if(sqlWidget->getModel()->valid())
|
||||
{
|
||||
// The query takes the last placeholder as it may itself contain the sequence '%' + number
|
||||
statusMessage = tr("%1 Rows returned from: %3 (took %2ms)").arg(
|
||||
statusMessage = tr("%1 rows returned in %2ms from: %3").arg(
|
||||
sqlWidget->getModel()->totalRowCount()).arg(timer.elapsed()).arg(queryPart.trimmed());
|
||||
sqlWidget->enableSaveButton(true);
|
||||
sql3status = SQLITE_OK;
|
||||
|
||||
Reference in New Issue
Block a user