Skip to content
Permalink
Browse files

keep group actions enabled while in grouping mode (fixes #14049)

Group actions must be enabled to have the option of leaving grouping mode again.
  • Loading branch information
SebDieBln committed Jan 3, 2016
1 parent 0df4cbe commit a943d9510d2c606c0318eb1e4a28cb26b6d549fb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/symbology-ng/qgsstylev2managerdialog.cpp
@@ -1252,7 +1252,7 @@ void QgsStyleV2ManagerDialog::enableSymbolInputs( bool enable )
groupTree->setEnabled( enable );
btnAddGroup->setEnabled( enable );
btnRemoveGroup->setEnabled( enable );
btnManageGroups->setEnabled( enable );
btnManageGroups->setEnabled( enable || mGrouppingMode ); // always enabled in grouping mode, as it is the only way to leave grouping mode
searchBox->setEnabled( enable );
tagsLineEdit->setEnabled( enable );
}
@@ -1261,7 +1261,7 @@ void QgsStyleV2ManagerDialog::enableGroupInputs( bool enable )
{
btnAddGroup->setEnabled( enable );
btnRemoveGroup->setEnabled( enable );
btnManageGroups->setEnabled( enable );
btnManageGroups->setEnabled( enable || mGrouppingMode ); // always enabled in grouping mode, as it is the only way to leave grouping mode
}

void QgsStyleV2ManagerDialog::enableItemsForGroupingMode( bool enable )

0 comments on commit a943d95

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