--- a/eric7/WebBrowser/QtHelp/QtHelpDocumentationConfigurationDialog.py Tue Aug 31 17:48:20 2021 +0200 +++ b/eric7/WebBrowser/QtHelp/QtHelpDocumentationConfigurationDialog.py Tue Aug 31 19:56:40 2021 +0200 @@ -75,7 +75,8 @@ @param button button that was clicked @type QAbstractButton """ - if button == QDialogButtonBox.StandardButton.Apply: + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Apply): self.__applyConfiguration() self.__settings = QtHelpDocumentationSettings.readSettings( @@ -87,7 +88,8 @@ self.__settings.versions()) self.filterSettingsWidget.readSettings( self.__engine.filterEngine()) - elif button == QDialogButtonBox.StandardButton.Ok: + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok): self.__applyConfiguration() self.accept()