Skip to content

Commit

Permalink
Add proper success message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni committed Sep 13, 2024
1 parent 194adfc commit fb35054
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/gui/vector/qgsfieldcalculator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,14 @@ void QgsFieldCalculator::calculate()
}

mVectorLayer->endEditCommand();
pushMessage( QStringLiteral( "All good, change is applied" ) );
if ( mNewFieldGroupBox->isChecked() )
{
pushMessage( tr( "Field %1 created succesfully" ).arg( mVectorLayer->name() ) );
}
else if ( mUpdateExistingGroupBox->isChecked() )
{
pushMessage( tr( "Field %1 updated succesfully" ).arg( mVectorLayer->name() ) ) ;
}
}
}

Expand Down

0 comments on commit fb35054

Please sign in to comment.