private void DeleteSelected() { if (!string.IsNullOrEmpty(_editorPrefs._selectedKey)) { Localisation.DeleteString(_editorPrefs._selectedKey); _editorPrefs._selectedKey = null; SaveEditorPrefs(); _needsRepaint = true; } }