fix nasty bug related to overlapping names

This commit is contained in:
Andrzej Rybczak
2012-09-14 17:11:32 +02:00
parent b2b16be9ce
commit 3a1175343f
2 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ void MediaLibrary::switchTo()
if (hasTwoColumns) if (hasTwoColumns)
{ {
if (w == Tags) if (w == Tags)
NextColumn(); nextColumn();
if (Config.titles_visibility) if (Config.titles_visibility)
{ {
std::string item_type = lowercase(tagTypeToString(Config.media_lib_primary_tag)); std::string item_type = lowercase(tagTypeToString(Config.media_lib_primary_tag));

View File

@@ -992,8 +992,8 @@ void TagEditor::LocateSong(const MPD::Song &s)
// and then songs in right column are not visible. // and then songs in right column are not visible.
TagTypes->reset(); TagTypes->reset();
// go to the right column // go to the right column
NextColumn(); nextColumn();
NextColumn(); nextColumn();
// highlight our file // highlight our file
for (size_t i = 0; i < Tags->size(); ++i) for (size_t i = 0; i < Tags->size(); ++i)