Skip to content

Commit c70e007

Browse files
author
Arunmozhi
committedAug 9, 2012
fixed the filename as groupname in import dialog
1 parent b7f1dea commit c70e007

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ void QgsStyleV2ExportImportDialog::browse()
415415
{
416416
return;
417417
}
418+
QFileInfo pathInfo( mFileName );
419+
QString groupName = pathInfo.fileName().replace( ".xml", "" );
420+
groupCombo->setItemText( 0, groupName );
418421
locationLineEdit->setText( mFileName );
419422
populateStyles( mTempStyle );
420423
}

0 commit comments

Comments
 (0)
Please sign in to comment.