Skip to content

Commit b1a97e1

Browse files
committedJan 26, 2018
fix stylesheet string for the qgsdatetimeedit widget
1 parent fb3e4e1 commit b1a97e1

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
@@ -169,7 +169,7 @@ void QgsDateTimeEdit::changed( const QDateTime &dateTime )
169169
{
170170
mOriginalStyleSheet = lineEdit()->styleSheet();
171171
}
172-
lineEdit()->setStyleSheet( QStringLiteral( "font-style: italic; color: grey; }" ) );
172+
lineEdit()->setStyleSheet( QStringLiteral( "QLineEdit { font-style: italic; color: grey; }" ) );
173173
}
174174
else
175175
{

0 commit comments

Comments
 (0)
Please sign in to comment.