Skip to content
Permalink
Browse files

fixes "Add to Overview" action, also removes shortcut

  • Loading branch information
slarosa committed Sep 3, 2013
1 parent c3717c2 commit e7a321559be0a42c23a6528a034050f3fb2d26b7
Showing with 1 addition and 4 deletions.
  1. +1 −1 src/app/legend/qgslegend.cpp
  2. +0 −3 src/ui/qgisapp.ui
@@ -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 );
@@ -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">

0 comments on commit e7a3215

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