From f99ed7a0e7fc80a6549f9dd47ac2c48653a81f42 Mon Sep 17 00:00:00 2001 From: Sebastian Dietrich Date: Thu, 11 Feb 2016 16:48:01 +0100 Subject: [PATCH] Change the title of QgsNewVectorLayerDialog to match the actions that show it. --- src/gui/qgsnewvectorlayerdialog.cpp | 1 + src/ui/qgsnewvectorlayerdialogbase.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/qgsnewvectorlayerdialog.cpp b/src/gui/qgsnewvectorlayerdialog.cpp index e84581558a66..79f792266e38 100644 --- a/src/gui/qgsnewvectorlayerdialog.cpp +++ b/src/gui/qgsnewvectorlayerdialog.cpp @@ -53,6 +53,7 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, const Qt::Win mFileFormatComboBox->addItem( tr( "ESRI Shapefile" ), "ESRI Shapefile" ); #if 0 // Disabled until provider properly supports editing the created file formats + // When enabling this, adapt the window-title of the dialog and the title of all actions showing this dialog. mFileFormatComboBox->addItem( tr( "Comma Separated Value" ), "Comma Separated Value" ); mFileFormatComboBox->addItem( tr( "GML" ), "GML" ); mFileFormatComboBox->addItem( tr( "Mapinfo File" ), "Mapinfo File" ); diff --git a/src/ui/qgsnewvectorlayerdialogbase.ui b/src/ui/qgsnewvectorlayerdialogbase.ui index 1875803f1b67..6de33e3a3ce6 100644 --- a/src/ui/qgsnewvectorlayerdialogbase.ui +++ b/src/ui/qgsnewvectorlayerdialogbase.ui @@ -11,7 +11,7 @@ - New Vector Layer + New Shapefile Layer true