This commit is contained in:
Andrzej Rybczak
2010-01-31 16:28:00 +01:00
parent db97a1a318
commit d1194757a0
2 changed files with 22 additions and 17 deletions

View File

@@ -125,7 +125,11 @@ void MediaLibrary::Refresh()
void MediaLibrary::SwitchTo()
{
if (myScreen == this && !Config.media_library_disable_two_column_mode)
if (myScreen == this)
{
if (Config.media_library_disable_two_column_mode)
return;
else
{
hasTwoColumns = !hasTwoColumns;
hasToBeResized = 1;
@@ -144,6 +148,7 @@ void MediaLibrary::SwitchTo()
else
Albums->SetTitle("Albums");
}
}
if (!isInitialized)
Init();