Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 40e99fc

Browse files
committedJun 5, 2019
Do not emit dateChanged signal if value has not changed
Fixes #29937
1 parent e517cc4 commit 40e99fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/editorwidgets/qgsdatetimeedit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void QgsDateTimeEdit::setDateTime( const QDateTime &dateTime )
252252
{
253253
clear();
254254
}
255-
else
255+
else if ( dateTime != QgsDateTimeEdit::dateTime() )
256256
{
257257
QDateTimeEdit::setDateTime( dateTime );
258258
changed( dateTime );

0 commit comments

Comments
 (0)
Please sign in to comment.