Commit 61eac17c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

FancyLineEdit: Validate after setting validation function



Change-Id: I070c3de08dcdce7abc219a8e17d0ea1a531b2167
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 0923feb3
......@@ -412,6 +412,7 @@ void FancyLineEdit::setOkColor(const QColor &c)
void FancyLineEdit::setValidationFunction(const FancyLineEdit::ValidationFunction &fn)
{
d->m_validationFunction = fn;
validate();
}
FancyLineEdit::ValidationFunction FancyLineEdit::defaultValidationFunction()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment