private void gossipGrid_KeyDown(object sender, KeyEventArgs e) { if (e.KeyboardDevice.Modifiers == ModifierKeys.Control && e.Key == Key.S) { if (_SelectedGossipMenu != null) { WorldWorker.SaveGossipMenu(_SelectedGossipMenu); } if (_SelectedNpcText != null) { WorldWorker.SaveNpcText(_SelectedNpcText); } if (_bct0 != null) { WorldWorker.SaveBroadCastText(_bct0); } if (_bct1 != null) { WorldWorker.SaveBroadCastText(_bct1); } if (_bct2 != null) { WorldWorker.SaveBroadCastText(_bct2); } if (_bct3 != null) { WorldWorker.SaveBroadCastText(_bct3); } if (_bct4 != null) { WorldWorker.SaveBroadCastText(_bct4); } if (_bct5 != null) { WorldWorker.SaveBroadCastText(_bct5); } if (_bct6 != null) { WorldWorker.SaveBroadCastText(_bct6); } if (_bct7 != null) { WorldWorker.SaveBroadCastText(_bct7); } SaveGossipItems(); LegacyToolBox.AppendMessage("Gossip Menu " + _SelectedGossipMenu.entry + " Saved."); e.Handled = true; } }