'Reverts the selected profile to its saved state.'

def revert_profile(self, widget=None):

    msg = _('Do    you    really    want    to    discard    the    changes    in    the    the    profile    and    load    the    previous    saved    configuration?')
    dlg = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_YES_NO, msg)
    opt = dlg.run()
    dlg.destroy()
    if (opt == gtk.RESPONSE_YES):
        self.selectedProfile = (-1)
        path = self.get_cursor()[0]
        if (not path):
            return
        row = self.liststore[path]
        row[0] = row[4]
        row[3] = False
        self._use_profile()
        self.w3af.mainwin.sb(_('The    profile    configuration    was    reverted    to    its    last    saved    state'))
