Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[StyleManager] Respect the entered group name when importing symbols
(fixes #14048)
  • Loading branch information
SebDieBln committed Jan 7, 2016
1 parent ae2738e commit 284704a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
Expand Up @@ -227,8 +227,8 @@ void QgsStyleV2ExportImportDialog::moveStyles( QModelIndexList* selection, QgsSt
// get the groupid when going for import
if ( mDialogMode == Import )
{
int index = groupCombo->currentIndex();
QString name = groupCombo->itemText( index );
// get the name the user entered
QString name = groupCombo->currentText();
if ( name.isEmpty() )
{
// get name of the group
Expand Down

0 comments on commit 284704a

Please sign in to comment.