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 7, 2022
1 parent 9569ece commit 059f02a
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 059f02a

Please sign in to comment.