Skip to content

Commit

Permalink
[ui] Fix out-of-sync show help button enabled state for the expressio…
Browse files Browse the repository at this point in the history
…n builder
  • Loading branch information
nirvn authored and nyalldawson committed Nov 26, 2019
1 parent a269fe2 commit 60555a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -118,6 +118,7 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
splitter->restoreState( settings.value( QStringLiteral( "Windows/QgsExpressionBuilderWidget/splitter" ) ).toByteArray() );
editorSplit->restoreState( settings.value( QStringLiteral( "Windows/QgsExpressionBuilderWidget/editorsplitter" ) ).toByteArray() );
functionsplit->restoreState( settings.value( QStringLiteral( "Windows/QgsExpressionBuilderWidget/functionsplitter" ) ).toByteArray() );
mShowHelpButton->setEnabled( functionsplit->sizes().at( 1 ) == 0 );

txtExpressionString->setFoldingVisible( false );

Expand Down

0 comments on commit 60555a1

Please sign in to comment.