Commit c40181a0 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: SearchLineEdit: fix background text after reset()

parent 6b88089b
......@@ -152,6 +152,8 @@ void SearchLineEdit::setMessageVisible( bool on )
void SearchLineEdit::updateText( const QString& text )
{
/* if reset() won't be focused out */
if ( !text.isEmpty() ) setMessageVisible( false );
clearButton->setVisible( !text.isEmpty() );
}
......
Markdown is supported
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