Skip to content
Permalink
Browse files

[StyleManager] Respect the entered group name when importing symbols

(fixes #14048)
  • Loading branch information
SebDieBln committed Jan 7, 2016
1 parent ae2738e commit 284704ab0b623ad17dbd6d6b6d0e79d42a33d665
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
@@ -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

0 comments on commit 284704a

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