Skip to content

Commit

Permalink
Merge pull request #2783 from SebDieBln/FixVectorDialogTitle
Browse files Browse the repository at this point in the history
[UI] Make title of QgsNewVectorLayerDialog consistent
  • Loading branch information
m-kuhn committed Feb 16, 2016
2 parents 42bc938 + f99ed7a commit 54fa23c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gui/qgsnewvectorlayerdialog.cpp
Expand Up @@ -53,6 +53,7 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, const Qt::Win
mFileFormatComboBox->addItem( tr( "ESRI Shapefile" ), "ESRI Shapefile" ); mFileFormatComboBox->addItem( tr( "ESRI Shapefile" ), "ESRI Shapefile" );
#if 0 #if 0
// Disabled until provider properly supports editing the created file formats // 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( "Comma Separated Value" ), "Comma Separated Value" );
mFileFormatComboBox->addItem( tr( "GML" ), "GML" ); mFileFormatComboBox->addItem( tr( "GML" ), "GML" );
mFileFormatComboBox->addItem( tr( "Mapinfo File" ), "Mapinfo File" ); mFileFormatComboBox->addItem( tr( "Mapinfo File" ), "Mapinfo File" );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsnewvectorlayerdialogbase.ui
Expand Up @@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>New Vector Layer</string> <string>New Shapefile Layer</string>
</property> </property>
<property name="modal"> <property name="modal">
<bool>true</bool> <bool>true</bool>
Expand Down

0 comments on commit 54fa23c

Please sign in to comment.