Skip to content

Commit

Permalink
Fix strings in GUI and the tabstop order
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 19, 2021
1 parent 4934f7f commit f0de9c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/mesh/qgsnewmeshlayerdialog.cpp
Expand Up @@ -51,7 +51,7 @@ QgsNewMeshLayerDialog::QgsNewMeshLayerDialog( QWidget *parent, Qt::WindowFlags f
QString suffix = driverMeta.writeMeshFrameOnFileSuffix();
mFormatComboBox->addItem( description, driverName );
mDriverSuffixes.insert( driverMeta.name(), suffix );
mDriverFileFilters.insert( driverMeta.name(), tr( "%1 files" ).arg( description ) + QStringLiteral( " (*." ) + suffix + ')' );
mDriverFileFilters.insert( driverMeta.name(), tr( "%1" ).arg( description ) + QStringLiteral( " (*." ) + suffix + ')' );
}

QStringList filters = mDriverFileFilters.values();
Expand Down
11 changes: 10 additions & 1 deletion src/ui/mesh/qgsnewmeshlayerdialogbase.ui
Expand Up @@ -85,7 +85,7 @@
<item row="1" column="0">
<widget class="QRadioButton" name="mMeshProjectRadioButton">
<property name="text">
<string>From a mesh of the current project</string>
<string>Mesh of the current project</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -142,6 +142,15 @@
<header location="global">qgsmaplayercombobox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mLayerNameLineEdit</tabstop>
<tabstop>mFormatComboBox</tabstop>
<tabstop>mEmptyMeshRadioButton</tabstop>
<tabstop>mMeshProjectRadioButton</tabstop>
<tabstop>mMeshProjectComboBox</tabstop>
<tabstop>mMeshFileRadioButton</tabstop>
<tabstop>mInformationTextBrowser</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgisapp.ui
Expand Up @@ -3554,7 +3554,7 @@ Shows placeholders for labels which could not be placed, e.g. due to overlaps wi
<normaloff>:/images/themes/default/mActionNewMeshLayer.svg</normaloff>:/images/themes/default/mActionNewMeshLayer.svg</iconset>
</property>
<property name="text">
<string>New Mesh Layer</string>
<string>New Mesh Layer</string>
</property>
<property name="toolTip">
<string>New Mesh Layer</string>
Expand Down

0 comments on commit f0de9c9

Please sign in to comment.