code: def set_project_path(self, path):
          
          if path is None:
              self.project_path = None
              self.model().item(PROJECT, 0).setEnabled(False)
              if self.currentIndex() == PROJECT:
                  self.setCurrentIndex(CWD)
          else:
              path = osp.abspath(path)
              self.project_path = path
              self.model().item(PROJECT, 0).setEnabled(True)
docs: Sets the project path and disables the project search in the combobox
          if the value of path is None.