'Edit Spyder active project preferences'

def edit_project_preferences(self):

    from spyder.widgets.projects.configdialog import ProjectPreferences
    if self.project_active:
        active_project = self.project_list[0]
        dlg = ProjectPreferences(self, active_project)
        dlg.show()
        dlg.exec_()
