Skip to content

Commit

Permalink
change window title depending on action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Oct 3, 2012
1 parent 7bff3cf commit e71bcfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
Expand Up @@ -58,6 +58,7 @@ QgsStyleV2ExportImportDialog::QgsStyleV2ExportImportDialog( QgsStyleV2* style, Q

if ( mDialogMode == Import )
{
setWindowTitle( tr( "Import style(s)" ) );
// populate the import types
importTypeCombo->addItem( "file specified below", QVariant( "file" ) );
// importTypeCombo->addItem( "official QGIS repo online", QVariant( "official" ) );
Expand All @@ -79,6 +80,7 @@ QgsStyleV2ExportImportDialog::QgsStyleV2ExportImportDialog( QgsStyleV2* style, Q
}
else
{
setWindowTitle( tr( "Export style(s)" ) );
// hide import specific controls when exporting
btnBrowse->setHidden( true );
fromLabel->setHidden( true );
Expand Down

0 comments on commit e71bcfc

Please sign in to comment.