Skip to content

Commit

Permalink
Fix incorrect logic in reuse of existing manual table widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 14, 2020
1 parent 12fb06b commit 2e751dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutmanualtablewidget.cpp
Expand Up @@ -108,7 +108,7 @@ bool QgsLayoutManualTableWidget::setNewItem( QgsLayoutItem *item )
if ( !multiFrame )
return false;

if ( multiFrame->type() != QgsLayoutItemRegistry::LayoutAttributeTable )
if ( multiFrame->type() != QgsLayoutItemRegistry::LayoutManualTable )
return false;

if ( mTable )
Expand Down

0 comments on commit 2e751dd

Please sign in to comment.