From e7f46bbb21983ddf1cf6bba2287a4717a18089a1 Mon Sep 17 00:00:00 2001 From: naru Date: Sat, 5 Apr 2003 16:54:07 +0000 Subject: [PATCH] Preview hides away when no surface is found --- bottleclient/MainForm.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bottleclient/MainForm.pas b/bottleclient/MainForm.pas index c0ff1eb..68d6fe0 100755 --- a/bottleclient/MainForm.pas +++ b/bottleclient/MainForm.pas @@ -2469,7 +2469,8 @@ begin frmSurfacePreview.ShowPreview(Bmp, Self.Left-Bmp.Width, CPos.Y); FVisiblePreviewGhost := Ghost; FVisiblePreviewSurface := Surface; - end; + end else + frmSurfacePreview.HideAway; finally Bmp.Free; end; -- 2.11.0