Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
proper english past form
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/providers/ogr/qgsgeopackagedataitems.cpp
|
@@ -529,15 +529,15 @@ bool QgsGeoPackageAbstractLayerItem::deleteLayer() |
|
|
QgsGeoPackageConnectionItem *connectionParentItem = qobject_cast<QgsGeoPackageConnectionItem *>( mParent ); |
|
|
if ( connectionParentItem ) |
|
|
{ |
|
|
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> has been deleted successfully." |
|
|
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> was deleted successfully." |
|
|
" Compact database (VACUUM) <b>%2</b> now?" ).arg( mName, connectionParentItem->name() ), QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes ) |
|
|
{ |
|
|
connectionParentItem->vacuumGeoPackageDbAction(); |
|
|
} |
|
|
} |
|
|
else |
|
|
{ |
|
|
QMessageBox::information( nullptr, tr( "Delete Layer" ), tr( "The layer <b>%1</b> has been deleted successfully." ).arg( mName ) ); |
|
|
QMessageBox::information( nullptr, tr( "Delete Layer" ), tr( "The layer <b>%1</b> was deleted successfully." ).arg( mName ) ); |
|
|
} |
|
|
if ( mParent ) |
|
|
mParent->refreshConnections(); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.