Skip to content

Commit e7a3215

Browse files
committedSep 3, 2013
fixes "Add to Overview" action, also removes shortcut
1 parent c3717c2 commit e7a3215

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
 

‎src/app/legend/qgslegend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ void QgsLegend::legendLayerShowInOverview()
16441644
if ( !li )
16451645
return;
16461646

1647-
if ( li->type() == QgsLegendItem::LEGEND_LAYER )
1647+
if ( li->type() != QgsLegendItem::LEGEND_LAYER )
16481648
return;
16491649

16501650
QgsLegendLayer* ll = qobject_cast<QgsLegendLayer *>( li );

‎src/ui/qgisapp.ui

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,9 +1329,6 @@
13291329
<property name="text">
13301330
<string>Add to Overview</string>
13311331
</property>
1332-
<property name="shortcut">
1333-
<string>Ctrl+Shift+O</string>
1334-
</property>
13351332
</action>
13361333
<action name="mActionAddAllToOverview">
13371334
<property name="icon">

0 commit comments

Comments
 (0)
Please sign in to comment.