Skip to content
Permalink
Browse files

Merge pull request #2629 from SebDieBln/FixStyleManagerGroupingMode

[StyleManager] Keep group actions enabled while in grouping mode (fixes #14049)
  • Loading branch information
nyalldawson committed Jan 5, 2016
2 parents adf8385 + a943d95 commit 90eaba9f4f78097b18e48a4d99793fa6a2abbe23
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 90eaba9

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