Skip to content

Commit

Permalink
fixes "Add to Overview" action, also removes shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Sep 3, 2013
1 parent c3717c2 commit e7a3215
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegend.cpp
Expand Up @@ -1644,7 +1644,7 @@ void QgsLegend::legendLayerShowInOverview()
if ( !li )
return;

if ( li->type() == QgsLegendItem::LEGEND_LAYER )
if ( li->type() != QgsLegendItem::LEGEND_LAYER )
return;

QgsLegendLayer* ll = qobject_cast<QgsLegendLayer *>( li );
Expand Down
3 changes: 0 additions & 3 deletions src/ui/qgisapp.ui
Expand Up @@ -1329,9 +1329,6 @@
<property name="text">
<string>Add to Overview</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+O</string>
</property>
</action>
<action name="mActionAddAllToOverview">
<property name="icon">
Expand Down

0 comments on commit e7a3215

Please sign in to comment.