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 authored and nyalldawson committed Jun 7, 2019
1 parent e517cc4 commit 62c5757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsdatetimeedit.cpp
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 62c5757

Please sign in to comment.