Skip to content

Commit

Permalink
fix stylesheet string for the qgsdatetimeedit widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 26, 2018
1 parent fb3e4e1 commit b1a97e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsdatetimeedit.cpp
Expand Up @@ -169,7 +169,7 @@ void QgsDateTimeEdit::changed( const QDateTime &dateTime )
{
mOriginalStyleSheet = lineEdit()->styleSheet();
}
lineEdit()->setStyleSheet( QStringLiteral( "font-style: italic; color: grey; }" ) );
lineEdit()->setStyleSheet( QStringLiteral( "QLineEdit { font-style: italic; color: grey; }" ) );
}
else
{
Expand Down

0 comments on commit b1a97e1

Please sign in to comment.