Option "Hide previews when EVE client is not active" does not work

This commit is contained in:
Anton Kasyanov
2018-04-03 23:35:29 +03:00
parent 13871ec3e8
commit f9cbf239f5

View File

@@ -198,7 +198,7 @@ namespace EveOPreview.Services
this.SwitchActiveClient(foregroundWindowHandle, foregroundWindowTitle); 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++; this._refreshCycleCount++;