do not display keybinding for tag editor if taglib support is disabled

This commit is contained in:
Andrzej Rybczak
2008-11-21 19:13:13 +01:00
parent 55c7777515
commit e5fbf6bea8

View File

@@ -107,8 +107,11 @@ string GetKeybindings()
result += DisplayKeys(Key.SearchEngine) + "Search engine\n";
result += DisplayKeys(Key.MediaLibrary) + "Media library\n";
result += DisplayKeys(Key.PlaylistEditor) + "Playlist editor\n";
# ifdef HAVE_TAGLIB_H
result += DisplayKeys(Key.TagEditor) + "Tag editor\n\n\n";
# else
result += "\n\n";
# endif // HAVE_TAGLIB_H
result += " [.b]Keys - Global\n -----------------------------------------[/b]\n";
result += DisplayKeys(Key.Stop) + "Stop\n";