Skip to content
Permalink
Browse files

[ui][code editor] Remove fold area for the expression code editor

  • Loading branch information
nirvn committed Oct 7, 2020
1 parent 212438a commit aa50eb0231b664be4b64c228cc9a2ab54c308f4d
Showing with 1 addition and 3 deletions.
  1. +1 −1 src/gui/codeeditors/qgscodeeditorexpression.cpp
  2. +0 −2 src/gui/qgsexpressionbuilderwidget.cpp
@@ -28,7 +28,7 @@ QgsCodeEditorExpression::QgsCodeEditorExpression( QWidget *parent )
setTitle( tr( "Expression Editor" ) );
}
setMarginVisible( false );
setFoldingVisible( true );
setFoldingVisible( false );
setAutoCompletionCaseSensitivity( false );
QgsCodeEditorExpression::initializeLexer(); // avoid cppcheck warning by explicitly specifying namespace
}
@@ -160,8 +160,6 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
functionsplit->restoreState( settings.value( QStringLiteral( "Windows/QgsExpressionBuilderWidget/functionsplitter" ) ).toByteArray() );
mShowHelpButton->setEnabled( functionsplit->sizes().at( 1 ) == 0 );

txtExpressionString->setFoldingVisible( false );

if ( QgsPythonRunner::isValid() )
{
QgsPythonRunner::eval( QStringLiteral( "qgis.user.expressionspath" ), mFunctionsPath );

0 comments on commit aa50eb0

Please sign in to comment.
You can’t perform that action at this time.