Skip to content
Permalink
Browse files

Use the "deselect all in active layer" icon in the attribute table

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 bb621677c8e81632da448a70d52988e76036f7ff
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/app/qgsattributetabledialog.cpp
  2. +3 −3 src/ui/qgsattributetabledialog.ui
@@ -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" ) ) );
@@ -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>

0 comments on commit bb62167

Please sign in to comment.
You can’t perform that action at this time.