diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -18,21 +18,22 @@ """ Class implementing a dialog to enter the data for a new property. """ + def __init__(self, parent=None): """ Constructor - + @param parent parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) - + self.propFilePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) - + def getData(self): """ Public slot used to retrieve the data entered into the dialog. - + @return tuple of three values giving the property name, a flag indicating a file was selected and the text of the property or the selected filename. (string, boolean, string) @@ -40,5 +41,4 @@ if self.fileRadioButton.isChecked(): return (self.propNameEdit.text(), True, self.propFilePicker.text()) else: - return (self.propNameEdit.text(), False, - self.propTextEdit.toPlainText()) + return (self.propNameEdit.text(), False, self.propTextEdit.toPlainText())