Skip to content

Commit

Permalink
Fix duplicated return
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent 90d6a2d commit 36b58a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/layout/qgslayoutmapwidget.cpp
Expand Up @@ -1189,7 +1189,6 @@ QgsLayoutItemMapGrid *QgsLayoutMapWidget::currentGrid()
return nullptr;
}
return mMapItem->grids()->grid( item->data( Qt::UserRole ).toString() );
return nullptr;
}

void QgsLayoutMapWidget::mGridListWidget_currentItemChanged( QListWidgetItem *current, QListWidgetItem *previous )
Expand Down

0 comments on commit 36b58a8

Please sign in to comment.