mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
db_manager: fix error message on table vacuum
This commit is contained in:
parent
e4c9a20205
commit
f8f7842108
@ -169,7 +169,7 @@ class PGDatabase(Database):
|
||||
QApplication.restoreOverrideCursor()
|
||||
try:
|
||||
if not isinstance(item, Table) or item.isView:
|
||||
parent.infoBar().pushMessage(self.tr("Select a table for vacuum analyze."), QgsMessageBar.INFO, parent.iface.messageTimeout())
|
||||
parent.infoBar.pushMessage(self.tr("Select a table for vacuum analyze."), QgsMessageBar.INFO, parent.iface.messageTimeout())
|
||||
return
|
||||
finally:
|
||||
QApplication.setOverrideCursor(Qt.WaitCursor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user