From f9cbf239f5375d5a9bfec53c5b912d973d469687 Mon Sep 17 00:00:00 2001 From: Anton Kasyanov Date: Tue, 3 Apr 2018 23:35:29 +0300 Subject: [PATCH] Option "Hide previews when EVE client is not active" does not work --- Eve-O-Preview/Services/Implementation/ThumbnailManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index 1fe7862..d14e7e7 100644 --- a/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -198,7 +198,7 @@ namespace EveOPreview.Services this.SwitchActiveClient(foregroundWindowHandle, foregroundWindowTitle); } - bool hideAllThumbnails = this._configuration.HideThumbnailsOnLostFocus && !(string.IsNullOrEmpty(foregroundWindowTitle) || this.IsClientWindowActive(foregroundWindowHandle)); + bool hideAllThumbnails = this._configuration.HideThumbnailsOnLostFocus && !this.IsClientWindowActive(foregroundWindowHandle); this._refreshCycleCount++;