"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/qgsattributetabledialog.cpp" between
QGIS-final-3_10_11.tar.gz and QGIS-final-3_10_12.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

qgsattributetabledialog.cpp  (QGIS-final-3_10_11):qgsattributetabledialog.cpp  (QGIS-final-3_10_12)
skipping to change at line 837 skipping to change at line 837
return; return;
QgsAttributeTableModel *masterModel = mMainView->masterModel(); QgsAttributeTableModel *masterModel = mMainView->masterModel();
QgsFeature f; QgsFeature f;
QgsFeatureAction action( tr( "Geometryless feature added" ), f, mLayer, QStrin g(), -1, this ); QgsFeatureAction action( tr( "Geometryless feature added" ), f, mLayer, QStrin g(), -1, this );
action.setForceSuppressFormPopup( true ); // we're already showing the table, allowing users to enter the new feature's attributes directly action.setForceSuppressFormPopup( true ); // we're already showing the table, allowing users to enter the new feature's attributes directly
if ( action.addFeature() ) if ( action.addFeature() )
{ {
masterModel->reload( masterModel->index( 0, 0 ), masterModel->index( masterM odel->rowCount() - 1, masterModel->columnCount() - 1 ) ); masterModel->reload( masterModel->index( 0, 0 ), masterModel->index( masterM odel->rowCount() - 1, masterModel->columnCount() - 1 ) );
mMainView->setCurrentEditSelection( QgsFeatureIds() << action.feature().id() );
} }
} }
void QgsAttributeTableDialog::mActionExpressionSelect_triggered() void QgsAttributeTableDialog::mActionExpressionSelect_triggered()
{ {
QgsExpressionSelectionDialog *dlg = new QgsExpressionSelectionDialog( mLayer ) ; QgsExpressionSelectionDialog *dlg = new QgsExpressionSelectionDialog( mLayer ) ;
dlg->setMessageBar( QgisApp::instance()->messageBar() ); dlg->setMessageBar( QgisApp::instance()->messageBar() );
dlg->setAttribute( Qt::WA_DeleteOnClose ); dlg->setAttribute( Qt::WA_DeleteOnClose );
dlg->show(); dlg->show();
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)