Skip to content
Permalink
Browse files

Fix incorrect logic in reuse of existing manual table widgets

  • Loading branch information
nyalldawson committed Jan 13, 2020
1 parent 12fb06b commit 2e751dd7f23a5b99f72a9eb49b72d5086739eb87
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/layout/qgslayoutmanualtablewidget.cpp
@@ -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 )

0 comments on commit 2e751dd

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