diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/Preferences/ConfigurationPages/CorbaPage.py --- a/src/eric7/Preferences/ConfigurationPages/CorbaPage.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/CorbaPage.py Wed Jul 13 14:55:47 2022 +0200 @@ -19,6 +19,7 @@ """ Class implementing the Corba configuration page. """ + def __init__(self): """ Constructor @@ -26,25 +27,26 @@ super().__init__() self.setupUi(self) self.setObjectName("CorbaPage") - + self.idlPicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) - self.idlPicker.setToolTip(self.tr( - "Press to select the IDL compiler via a file selection dialog.")) - + self.idlPicker.setToolTip( + self.tr("Press to select the IDL compiler via a file selection dialog.") + ) + # set initial values self.idlPicker.setText(Preferences.getCorba("omniidl")) - + def save(self): """ Public slot to save the Corba configuration. """ Preferences.setCorba("omniidl", self.idlPicker.text()) - + def create(dlg): """ Module function to create the configuration page. - + @param dlg reference to the configuration dialog @return reference to the instantiated page (ConfigurationPageBase) """