mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05: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()
|
QApplication.restoreOverrideCursor()
|
||||||
try:
|
try:
|
||||||
if not isinstance(item, Table) or item.isView:
|
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
|
return
|
||||||
finally:
|
finally:
|
||||||
QApplication.setOverrideCursor(Qt.WaitCursor)
|
QApplication.setOverrideCursor(Qt.WaitCursor)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user