File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ void QgsExpressionBuilderWidget::on_expressionTree_doubleClicked( const QModelIn
156
156
157
157
// Insert the expression text.
158
158
txtExpressionString->insertPlainText ( item->getExpressionText () );
159
+ txtExpressionString->setFocus ();
159
160
}
160
161
161
162
void QgsExpressionBuilderWidget::loadFieldNames ()
@@ -353,12 +354,14 @@ void QgsExpressionBuilderWidget::on_lblPreview_linkActivated( QString link )
353
354
void QgsExpressionBuilderWidget::on_mValueListWidget_itemDoubleClicked ( QListWidgetItem *item )
354
355
{
355
356
txtExpressionString->insertPlainText ( " " + item->text () + " " );
357
+ txtExpressionString->setFocus ();
356
358
}
357
359
358
360
void QgsExpressionBuilderWidget::operatorButtonClicked ()
359
361
{
360
362
QPushButton* button = dynamic_cast <QPushButton*>( sender () );
361
363
txtExpressionString->insertPlainText ( " " + button->text () + " " );
364
+ txtExpressionString->setFocus ();
362
365
}
363
366
364
367
void QgsExpressionBuilderWidget::showContextMenu ( const QPoint & pt )
You can’t perform that action at this time.
0 commit comments