Skip to content

Commit

Permalink
fixed the filename as groupname in import dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Arunmozhi committed Aug 9, 2012
1 parent b7f1dea commit c70e007
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
Expand Up @@ -415,6 +415,9 @@ void QgsStyleV2ExportImportDialog::browse()
{
return;
}
QFileInfo pathInfo( mFileName );
QString groupName = pathInfo.fileName().replace( ".xml", "" );
groupCombo->setItemText( 0, groupName );
locationLineEdit->setText( mFileName );
populateStyles( mTempStyle );
}
Expand Down

0 comments on commit c70e007

Please sign in to comment.