Skip to content
Permalink
Browse files
Fix strings in GUI and the tabstop order
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 19, 2021
1 parent 4934f7f commit f0de9c959fed6fadd7638df3d6cc4df89550b4a3
Showing with 12 additions and 3 deletions.
  1. +1 −1 src/app/mesh/qgsnewmeshlayerdialog.cpp
  2. +10 −1 src/ui/mesh/qgsnewmeshlayerdialogbase.ui
  3. +1 −1 src/ui/qgisapp.ui
@@ -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();
@@ -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>
@@ -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>
@@ -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>

0 comments on commit f0de9c9

Please sign in to comment.