Skip to content

Commit b1a97e1

Browse files
committed
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

+1-1
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)