diff -r dd54d33d21d2 -r 51aa6c6b66f7 eric6/Preferences/ConfigurationPages/SecurityPage.py --- a/eric6/Preferences/ConfigurationPages/SecurityPage.py Mon Oct 05 19:51:55 2020 +0200 +++ b/eric6/Preferences/ConfigurationPages/SecurityPage.py Tue Oct 06 17:52:44 2020 +0200 @@ -101,7 +101,7 @@ if checked: from .MasterPasswordEntryDialog import MasterPasswordEntryDialog dlg = MasterPasswordEntryDialog("", self) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: Preferences.setUser( "MasterPassword", dlg.getMasterPassword()) @@ -121,7 +121,7 @@ from .MasterPasswordEntryDialog import MasterPasswordEntryDialog dlg = MasterPasswordEntryDialog( Preferences.getUser("MasterPassword"), self) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: Preferences.setUser( "MasterPassword", dlg.getMasterPassword())