Update python/plugins/db_manager/db_plugins/plugin.py

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
This commit is contained in:
Matthias Kuhn 2019-10-05 12:22:58 +02:00
parent fd9cc9354f
commit da31655549

View File

@ -1158,7 +1158,7 @@ class VectorTable(Table):
def selectedCrs():
return crsSelector.crs()
addButton = QPushButton(self.tr('Load layer'))
addButton = QPushButton(self.tr('Load Layer'))
addButton.clicked.connect(lambda: self.addLayer(selectedGeometryType(), selectedCrs()))
btns = QDialogButtonBox(QDialogButtonBox.Cancel)
btns.addButton(addButton, QDialogButtonBox.ActionRole)