Skip to content
Permalink
Browse files

Merge pull request #9508 from qgis/backport-9502-on-release-3_4

Backport #9502 on release-3_4
  • Loading branch information
elpaso committed Mar 14, 2019
2 parents bd54f9a + d8ec96f commit 54c4cf4c17f8affcc80e11827055e0e0f29c247a
Showing with 1 addition and 3 deletions.
  1. +0 −2 src/gui/attributetable/qgsdualview.cpp
  2. +1 −1 src/gui/qgsattributeform.cpp
@@ -109,8 +109,6 @@ void QgsDualView::init( QgsVectorLayer *layer, QgsMapCanvas *mapCanvas, const Qg

// This slows down load of the attribute table heaps and uses loads of memory.
//mTableView->resizeColumnsToContents();

mFeatureList->setEditSelection( QgsFeatureIds() << mFeatureListModel->idxToFid( mFeatureListModel->index( 0, 0 ) ) );
}

void QgsDualView::columnBoxInit()
@@ -1356,7 +1356,7 @@ void QgsAttributeForm::init()
}
else
{
w = new QLabel( QStringLiteral( "<p style=\"color: red; font-style: italic;\">%1</p>" ).arg( tr( "Failed to create widget with type '%1'" ), widgetSetup.type() ) );
w = new QLabel( QStringLiteral( "<p style=\"color: red; font-style: italic;\">%1</p>" ).arg( tr( "Failed to create widget with type '%1'" ).arg( widgetSetup.type() ) ) );
}


0 comments on commit 54c4cf4

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