Skip to content

Commit f99ed7a

Browse files
committed
Change the title of QgsNewVectorLayerDialog to match the actions that show it.
1 parent 169d35f commit f99ed7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/gui/qgsnewvectorlayerdialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, const Qt::Win
5353
mFileFormatComboBox->addItem( tr( "ESRI Shapefile" ), "ESRI Shapefile" );
5454
#if 0
5555
// Disabled until provider properly supports editing the created file formats
56+
// When enabling this, adapt the window-title of the dialog and the title of all actions showing this dialog.
5657
mFileFormatComboBox->addItem( tr( "Comma Separated Value" ), "Comma Separated Value" );
5758
mFileFormatComboBox->addItem( tr( "GML" ), "GML" );
5859
mFileFormatComboBox->addItem( tr( "Mapinfo File" ), "Mapinfo File" );

src/ui/qgsnewvectorlayerdialogbase.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
14-
<string>New Vector Layer</string>
14+
<string>New Shapefile Layer</string>
1515
</property>
1616
<property name="modal">
1717
<bool>true</bool>

0 commit comments

Comments
 (0)