Skip to content

Commit

Permalink
Make variable sorted, fix #49078
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni authored and nyalldawson committed Jun 20, 2022
1 parent 7641f41 commit 8e4ff61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgspropertyoverridebutton.cpp
Expand Up @@ -458,6 +458,7 @@ void QgsPropertyOverrideButton::aboutToShowMenu()
{
QgsExpressionContext context = mExpressionContextGenerator->createExpressionContext();
QStringList variables = context.variableNames();
variables.sort();
const auto constVariables = variables;
for ( const QString &variable : constVariables )
{
Expand Down

0 comments on commit 8e4ff61

Please sign in to comment.