859 profiles. |
859 profiles. |
860 """ |
860 """ |
861 from .EricServerProfilesDialog import EricServerProfilesDialog |
861 from .EricServerProfilesDialog import EricServerProfilesDialog |
862 |
862 |
863 dlg = EricServerProfilesDialog( |
863 dlg = EricServerProfilesDialog( |
864 Preferences.getEricServer("ConnectionProfiles"), self.__ui |
864 Preferences.getEricServer("ConnectionProfiles"), parent=self.__ui |
865 ) |
865 ) |
866 if dlg.exec() == QDialog.DialogCode.Accepted: |
866 if dlg.exec() == QDialog.DialogCode.Accepted: |
867 profiles = dlg.getConnectionProfiles() |
867 profiles = dlg.getConnectionProfiles() |
868 Preferences.setEricServer("ConnectionProfiles", profiles) |
868 Preferences.setEricServer("ConnectionProfiles", profiles) |