Skip to content
Permalink
Browse files

Fix Help button connection

  • Loading branch information
DelazJ committed Sep 26, 2018
1 parent 42aaa23 commit d9517f7b1e4f462d07a5e0d8446df00f9590f162
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsvectorlayersavestyledialog.cpp
@@ -62,7 +62,7 @@ QgsVectorLayerSaveStyleDialog::QgsVectorLayerSaveStyleDialog( QgsVectorLayer *la
mDbStyleUIFileWidget->setDefaultRoot( myLastUsedDir );
mDbStyleUIFileWidget->setFilter( tr( "Qt Designer UI file (*.ui)" ) );
connect( mDbStyleUIFileWidget, &QgsFileWidget::fileChanged, this, &QgsVectorLayerSaveStyleDialog::readUiFileContent );
connect( mHelpButton, &QPushButton::clicked, this, &QgsVectorLayerSaveStyleDialog::showDbHelp );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsVectorLayerSaveStyleDialog::showHelp );

// save to file setup
connect( mFileWidget, &QgsFileWidget::fileChanged, this, &QgsVectorLayerSaveStyleDialog::updateSaveButtonState );
@@ -154,7 +154,7 @@ void QgsVectorLayerSaveStyleDialog::readUiFileContent( const QString &filePath )
}
}

void QgsVectorLayerSaveStyleDialog::showDbHelp()
void QgsVectorLayerSaveStyleDialog::showHelp()
{
QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#save-and-share-layer-properties" ) );
}

0 comments on commit d9517f7

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