Skip to content

Commit

Permalink
Use the "deselect all in active layer" icon in the attribute table
Browse files Browse the repository at this point in the history
given that feature (de)selection scope is within the current layer
  • Loading branch information
DelazJ authored and nyalldawson committed Apr 29, 2020
1 parent 53a083f commit bb62167
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsattributetabledialog.cpp
Expand Up @@ -225,7 +225,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *layer, QgsAttr

updateTitle();

mActionRemoveSelection->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionDeselectAll.svg" ) ) );
mActionRemoveSelection->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionDeselectActiveLayer.svg" ) ) );
mActionSelectAll->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionSelectAll.svg" ) ) );
mActionSelectedToTop->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionSelectedToTop.svg" ) ) );
mActionCopySelectedRows->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionEditCopy.svg" ) ) );
Expand Down
6 changes: 3 additions & 3 deletions src/ui/qgsattributetabledialog.ui
Expand Up @@ -361,13 +361,13 @@
<action name="mActionRemoveSelection">
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionDeselectAll.svg</normaloff>:/images/themes/default/mActionDeselectAll.svg</iconset>
<normaloff>:/images/themes/default/mActionDeselectActiveLayer.svg</normaloff>:/images/themes/default/mActionDeselectActiveLayer.svg</iconset>
</property>
<property name="text">
<string>Deselect all</string>
<string>Deselect all features from the layer</string>
</property>
<property name="toolTip">
<string>Deselect all (Ctrl+Shift+A)</string>
<string>Deselect all features from the layer (Ctrl+Shift+A)</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+A</string>
Expand Down

0 comments on commit bb62167

Please sign in to comment.