public synchronized void loadFromSettings(Settings settings){
  this.settings=settings;
  List<List> loadFrom=settings.getList(SETTING_NAME);
  hotkeys.clear();
  for (  List l : loadFrom) {
    Hotkey entry=listToHotkey(l);
    if (entry != null) {
      hotkeys.add(entry);
    }
  }
  updateHotkeys();
  checkGlobalHotkeyWarning();
}

public synchronized void loadFromSettings ( Settings settings ) { this . settings = settings ; List < List > loadFrom = settings . getList ( SETTING_NAME ) ; hotkeys . clear ( ) ; for ( List l : loadFrom ) { Hotkey entry = listToHotkey ( l ) ; if ( entry != null ) { hotkeys . add ( entry ) ; } } updateHotkeys ( ) ; checkGlobalHotkeyWarning ( ) ; }
removes all current hotkeys and loads the data from the settings .
