Skip to content
Permalink
Browse files

[Fix #7877] Crash when saving layer style as qml

  • Loading branch information
m-kuhn committed May 22, 2013
1 parent bb04e70 commit b7f1987b3e225be55e1d406af32c974c90f54881
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsfieldsproperties.cpp
@@ -283,7 +283,9 @@ void QgsFieldsProperties::loadRows()
disconnect( mAttributesList, SIGNAL( cellChanged( int, int ) ), this, SLOT( attributesListCellChanged( int, int ) ) );
const QgsFields &fields = mLayer->pendingFields();

mIndexedWidgets.clear();
mAttributesList->clear();
mAttributesList->setRowCount( 0 );

mAttributesList->setColumnCount( attrColCount );
mAttributesList->setSelectionBehavior( QAbstractItemView::SelectRows );

0 comments on commit b7f1987

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