Skip to content

Commit

Permalink
Store changes to current cell value when accepting the processing
Browse files Browse the repository at this point in the history
matrix table panel
  • Loading branch information
nyalldawson committed Dec 8, 2022
1 parent 3a04bb5 commit f5620c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/processing/qgsprocessingmatrixparameterdialog.cpp
Expand Up @@ -51,6 +51,9 @@ QgsProcessingMatrixParameterPanelWidget::QgsProcessingMatrixParameterPanelWidget
} );
connect( this, &QgsPanelWidget::panelAccepted, this, [ = ]()
{
// save any current cell edits
mTblView->setCurrentIndex( QModelIndex() );

if ( !mWasCanceled )
emit widgetChanged();
} );
Expand Down

0 comments on commit f5620c3

Please sign in to comment.