We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce7c5eb commit bc0f993Copy full SHA for bc0f993
src/gui/qgsfilterlineedit.cpp
@@ -107,7 +107,12 @@ void QgsFilterLineEdit::clearValue()
107
case ClearToDefault:
108
setText( mDefaultValue );
109
break;
110
+ }
111
112
+ if ( mClearHover )
113
+ {
114
+ setCursor( Qt::IBeamCursor );
115
+ mClearHover = false;
116
}
117
118
setModified( true );
@@ -151,6 +156,12 @@ void QgsFilterLineEdit::onTextChanged( const QString &text )
151
156
setStyleSheet( mStyleSheet );
152
157
emit valueChanged( text );
153
158
159
+
160
+ if ( mClearHover && !shouldShowClear() )
161
162
163
164
154
165
155
166
167
bool QgsFilterLineEdit::shouldShowClear() const
0 commit comments