Skip to content
Permalink
Browse files

change window title depending on action

  • Loading branch information
alexbruy committed Oct 3, 2012
1 parent 7bff3cf commit e71bcfc34234e231ccd470fd109cb7e551824ba9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/symbology-ng/qgsstylev2exportimportdialog.cpp
@@ -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" ) );
@@ -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 );

0 comments on commit e71bcfc

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