mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[db-manager] Increase precision when reporting query time
For consistency with the SQL dialog that used 3 decimal places
This commit is contained in:
parent
b8c21b0387
commit
96b903e1f3
@ -260,7 +260,7 @@ class DlgSqlLayerWindow(QWidget, Ui_Dialog):
|
||||
# set the new model
|
||||
model = self.db.sqlResultModel(sql, self)
|
||||
self.viewResult.setModel(model)
|
||||
self.lblResult.setText(self.tr("{0} rows, {1:.1f} seconds").format(model.affectedRows(), model.secs()))
|
||||
self.lblResult.setText(self.tr("{0} rows, {1:.3f} seconds").format(model.affectedRows(), model.secs()))
|
||||
cols = self.viewResult.model().columnNames()
|
||||
for col in cols:
|
||||
quotedCols.append(self.db.connector.quoteId(col))
|
||||
|
Loading…
x
Reference in New Issue
Block a user