(self, picked)
Quick panel user selection handler - enables the selected package

        :param picked:
            An integer of the 0-based package name index from the presented
            list. -1 means the user cancelled.
Quick panel user selection handler - enables the selected package
Quick panel user selection handler - enables the selected package
def on_done(self, picked):
        """
        Quick panel user selection handler - enables the selected package

        :param picked:
            An integer of the 0-based package name index from the presented
            list. -1 means the user cancelled.
        """

        if picked == -1:
            return
        package = self.disabled_packages[picked]
        ignored = self.settings.get('ignored_packages')
        self.settings.set('ignored_packages',
            list(set(ignored) - set([package])))
        sublime.save_settings(preferences_filename())
        sublime.status_message(('Package %s successfully removed from list ' +
            'of disabled packages - restarting Sublime Text may be required') %
            package)
def on_done ( self , picked ) : if picked == - 1 : return package = self . disabled_packages [ picked ] ignored = self . settings . get ( 'ignored_packages' ) self . settings . set ( 'ignored_packages' , list ( set ( ignored ) - set ( [ package ] ) ) ) sublime . save_settings ( preferences_filename ( ) ) sublime . status_message ( ( 'Package %s successfully removed from list ' + 'of disabled packages - restarting Sublime Text may be required' ) % package )