Skip to content

Commit

Permalink
remove assert from a left over (fix crash)
Browse files Browse the repository at this point in the history
the assert was copied from other class and I was running with RelWithDebugInfo and not Debug.
  • Loading branch information
3nids committed Feb 17, 2020
1 parent c37523d commit 48dc8d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/attributeformconfig/qgsattributewidgetedit.cpp
Expand Up @@ -25,7 +25,6 @@ QgsAttributeWidgetEdit::QgsAttributeWidgetEdit( QTreeWidgetItem *item, QWidget *
setupUi( this );

const QgsAttributesFormProperties::DnDTreeItemData itemData = mTreeItem->data( 0, QgsAttributesFormProperties::DnDTreeRole ).value<QgsAttributesFormProperties::DnDTreeItemData>();
Q_ASSERT( itemData.type() == QgsAttributesFormProperties::DnDTreeItemData::Container );

// common configs
mShowLabelCheckBox->setChecked( itemData.showLabel() );
Expand Down

0 comments on commit 48dc8d1

Please sign in to comment.