--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.py Tue Mar 02 17:17:09 2021 +0100 @@ -65,7 +65,7 @@ dlg = SvnRepoBrowserDialog(self.vcs, mode="select", parent=self) dlg.start( self.protocolCombo.currentText() + self.vcsUrlPicker.text()) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: url = dlg.getSelectedUrl() if url: protocol = url.split("://")[0] @@ -101,7 +101,8 @@ @param txt current text of the line edit (string) """ enable = "://" not in txt - self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Ok).setEnabled(enable) def getData(self): """