diff -r 745d38097b7f -r 84b65fb9e780 Preferences/ConfigurationDialog.py --- a/Preferences/ConfigurationDialog.py Sun Sep 29 15:23:19 2013 +0200 +++ b/Preferences/ConfigurationDialog.py Sun Sep 29 15:54:10 2013 +0200 @@ -84,6 +84,7 @@ eric5 ide (boolean) @keyparam displayMode mode of the configuration dialog (DefaultMode, HelpBrowserMode, TrayStarterMode) + @exception RuntimeError raised to indicate an invalid dialog mode """ assert displayMode in ( ConfigurationWidget.DefaultMode, @@ -631,7 +632,7 @@ """ Public method to get the page name of the current page. - @param page name of the current page (string) + @return page name of the current page (string) """ return self.__currentConfigurationPageName @@ -788,7 +789,7 @@ """ Public method to get the page name of the current page. - @param page name of the current page (string) + @return page name of the current page (string) """ return self.cw.getConfigurationPageName() @@ -799,6 +800,9 @@ self.cw.setPreferences() def accept(self): + """ + Public method to accept the dialog. + """ super().accept()