Skip to content

Commit

Permalink
Do not emit dateChanged signal if value has not changed
Browse files Browse the repository at this point in the history
Fixes #29937
  • Loading branch information
elpaso committed Jun 5, 2019
1 parent e517cc4 commit 40e99fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsdatetimeedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void QgsDateTimeEdit::setDateTime( const QDateTime &dateTime )
{
clear();
}
else
else if ( dateTime != QgsDateTimeEdit::dateTime() )
{
QDateTimeEdit::setDateTime( dateTime );
changed( dateTime );
Expand Down

0 comments on commit 40e99fc

Please sign in to comment.