From 91d892149bdc487725e96a63aad8c37fc1f5798a Mon Sep 17 00:00:00 2001
From: brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>
Date: Mon, 15 Mar 2010 19:18:19 +0000
Subject: fixed cover loading/showing when using tabs=on #2

git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2200 b956fd51-792f-4845-bead-9b4dfca2ff2c
---
 src/screens/UScreenSong.pas | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/screens')

diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas
index fa45697b..65f3c157 100644
--- a/src/screens/UScreenSong.pas
+++ b/src/screens/UScreenSong.pas
@@ -1661,12 +1661,11 @@ begin
 
   if VS > 0 then
   begin
-    if (not isScrolling) and (VS > 1) then
+    if (not isScrolling) and (VS > 0) then
     begin
       isScrolling := true;
       OnSongDeselect;
-    end else if (VS=0) then // fix for tabs=on
-      UnLoadDetailedCover;       
+    end;
 
     Skip := 1;
 
@@ -1701,7 +1700,7 @@ begin
 
   if VS > 1 then
   begin
-    if (not isScrolling) and (VS > 1) then
+    if (not isScrolling) and (VS > 0) then
     begin
       isScrolling := true;
       OnSongDeselect;
-- 
cgit v1.2.3