(self)
Handle edit button for the help list.

        Query with existing help source information and update
        config if the values are changed.
Handle edit button for the help list.
Handle edit button for the help list .
def helplist_item_edit(self):
        """Handle edit button for the help list.

        Query with existing help source information and update
        config if the values are changed.
        """
        item_index = self.helplist.index(ANCHOR)
        help_source = self.user_helplist[item_index]
        new_help_source = HelpSource(
                self, 'Edit Help Source',
                menuitem=help_source[0],
                filepath=help_source[1],
                ).result
        if new_help_source and new_help_source != help_source:
            self.user_helplist[item_index] = new_help_source
            self.helplist.delete(item_index)
            self.helplist.insert(item_index, new_help_source[0])
            self.update_help_changes()
            self.set_add_delete_state()
def helplist_item_edit ( self ) : item_index = self . helplist . index ( ANCHOR ) help_source = self . user_helplist [ item_index ] new_help_source = HelpSource ( self , 'Edit Help Source' , menuitem = help_source [ 0 ] , filepath = help_source [ 1 ] , ) . result if new_help_source and new_help_source != help_source : self . user_helplist [ item_index ] = new_help_source self . helplist . delete ( item_index ) self . helplist . insert ( item_index , new_help_source [ 0 ] ) self . update_help_changes ( ) self . set_add_delete_state ( )