mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[dbmanager] handle attempts to edit raster tables (fix #30214)
This commit is contained in:
parent
cc94aebc6f
commit
54c23d137f
@ -457,6 +457,12 @@ class Database(DbItemObject):
|
||||
parent.infoBar.pushMessage(QApplication.translate("DBManagerPlugin", "Select a table to edit."),
|
||||
Qgis.Info, parent.iface.messageTimeout())
|
||||
return
|
||||
|
||||
if isinstance(item, RasterTable):
|
||||
parent.infoBar.pushMessage(QApplication.translate("DBManagerPlugin", "Editing of raster tables is not supported."),
|
||||
Qgis.Info, parent.iface.messageTimeout())
|
||||
return
|
||||
|
||||
from ..dlg_table_properties import DlgTableProperties
|
||||
|
||||
DlgTableProperties(item, parent).exec_()
|
||||
|
Loading…
x
Reference in New Issue
Block a user