code: def editProfile(self, profile):
          
          mod = XViewProfileDialog.edit(self.window(), profile)
          if not mod:
              return False
          
          # update the action interface
          for act in self._profileGroup.actions():
              if act.profile() == profile:
                  act.setProfile(profile)
                  break
          
          # signal the change
          if not self.signalsBlocked():
              self.profileChanged.emit(profile)
              self.profilesChanged.emit()
          
          return True
docs: Prompts the user to edit the given profile.
          
          :param      profile | <projexui.widgets.xviewwidget.XViewProfile>