parameters: (self, picked)
docstring: 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.
docstring_summary: Quick panel user selection handler - enables the selected package
docstring_tokens: Quick panel user selection handler - enables the selected package
function: 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)
function_tokens: 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 )