140: Saved client location is applied even if the corresponding option is disabled
This commit is contained in:
@@ -397,8 +397,6 @@ namespace EveOPreview.Services
|
|||||||
this.UpdateClientLayouts();
|
this.UpdateClientLayouts();
|
||||||
this.RefreshThumbnails();
|
this.RefreshThumbnails();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.UpdateClientLayouts();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ThumbnailDeactivated(IntPtr id)
|
private void ThumbnailDeactivated(IntPtr id)
|
||||||
@@ -562,6 +560,11 @@ namespace EveOPreview.Services
|
|||||||
|
|
||||||
private void ApplyClientLayout(IntPtr clientHandle, string clientTitle)
|
private void ApplyClientLayout(IntPtr clientHandle, string clientTitle)
|
||||||
{
|
{
|
||||||
|
if (!this._configuration.EnableClientLayoutTracking)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ClientLayout clientLayout = this._configuration.GetClientLayout(clientTitle);
|
ClientLayout clientLayout = this._configuration.GetClientLayout(clientTitle);
|
||||||
|
|
||||||
if (clientLayout == null)
|
if (clientLayout == null)
|
||||||
|
Reference in New Issue
Block a user